/endsoft/ - Endsoft

New Software Projects by Endchan Users

Posting mode: Reply

Check to confirm you're not a robot
Name
Email
Subject
Comment
Password
Drawing x size canvas
File(s)

Board Rules

Max file size: 350.00 MB

Max files: 5

Max message length: 4096

Manage Board | Moderate Thread

Return | Magrathea | Catalog | Bottom


Promote your project, Discuss coding, Get feedback, notify your userbase. Start a thread to promote your software project. Post in the requests cyclic for new projects.

Expand All Images


Non Security Products Endwall 02/21/2017 (Tue) 22:21:59 [Preview] No. 5
Non Security Products

This thread is for Non-Security related products.

I have created a software script that may be useful but is not a security product. Other products of a simillar vein will be discussed here.


Endstream Endwall 02/21/2017 (Tue) 22:25:52 [Preview] No. 6 del
ENDSTREAM
endstream.sh version 0.02

https://github.com/endwall2/endware/raw/master/endstream.sh

This is a live streaming application using mpv and youtube-dl but operates in the Clearnet (No Tor). This can be modified to do so if you think that streaming is fast enough behind tor, which I have found to be tedious and unuseable. You can use this on a media center computer connected to a large screen tv, or for personal desktop use. Currently it is only grabbing streams from youtube, However if you make some suggestions of other live streams that work with mpv and youtube-dl, I will add them in later releases.


Endwall 02/23/2017 (Thu) 00:46:19 [Preview] No. 7 del
ENDSTREAM
endstream.sh version 0.04
https://github.com/endwall2/endware/raw/master/endstream.sh

I've added more channels. Some of these streams go dead after a day. But I'm sure some of these will stabalized over time. Go ahead and add your own streams from 121-140. If you know any other sources or good streams post below. Thanks.


Anonymous 08/07/2017 (Mon) 00:30:03 [Preview] No. 8 del
[code]/home/username/bin/renum.sh: line 205: /usr/bin/ls: Argument list too long
/home/username/bin/renum.sh: line 406: /usr/bin/tar: Argument list too long[/code]
Halp me plz


Endwall 08/07/2017 (Mon) 01:13:02 [Preview] No. 9 del
line 205

ls *.* > filelist.txt

erase *.* in this line to make it like this

ls > filelist.txt

same thing with the line above it.

Try that and post back if it works. Also type

$ renum --help
$ renum --version

To get some more info. Hope that helps.


Endwall 08/07/2017 (Mon) 01:20:22 [Preview] No. 10 del
>>8
Line 406
tar -rvf backup.tar *.*

This step will have to be done like it was being done originally. I tried to do this like this to save 2 lines of code and do all of the tar backups after the renuming rather than appending the concordance and hash lists after the process just do it all at once. This looks like it is failing. I'll have to do it the original way

first backup all the files next do the renuming/file renaming , finally append the hashes and concordance to the tar.

I was trying to be efficient, but it looks like this might be failing if there are alot of files or filetypes. I'll put it back to the previous method.


Anonymous 08/07/2017 (Mon) 01:28:51 [Preview] No. 11 del
>>10
My problem is that the filenames have . in multiple places while some files have no file extensions. I'm pretty fukt tbh. It's all image files but you could imagine why shit's fukt.


Endwall 08/07/2017 (Mon) 01:38:23 [Preview] No. 12 del
>>11
Change every line that says *.* to just * see if that works.


Endwall 08/07/2017 (Mon) 01:48:20 [Preview] No. 13 del
Actually try to change the

ls *.* to
ls .* and see if that works. If not just change it to :
ls > filelist.txt
ls | sort -R | sort -R > filelist.txt

if you are brave just comment out the tar and gzip backup portion. Otherwise just replace the *.* with * and it should work. This might accidentaly include the renum directory if done this way however which is what I think I was trying to avoid. I think there is a no-recursion option for tar that would prevent this but I tried it and it wasn't working right.


Endwall 08/07/2017 (Mon) 02:40:12 [Preview] No. 14 del
>>11
>>13

OK I have updated the files in the usual locations:

Endware Hidden Service
http://42xlyaqlurifvvtq.onion/

GitHub
https://github.com/endwall2/

Gitgud
https://gitgud.io/Endwall/


Anonymous 08/09/2017 (Wed) 15:01:12 [Preview] No. 15 del
>>14
I apparently have .svg files and your script doesn't detect them as .svg files. What do?


Endwall 08/09/2017 (Wed) 21:52:08 [Preview] No. 16 del
>>15

I added a filter for SVG to svg. If more file types show up just go into the code and add more extension filters copy paste and edit the code in the if statement. Post here if it comes up again, but its a simple fix that can be done on the spot.

http://42xlyaqlurifvvtq.onion/

https://github.com/endwall2/

https://gitgud.io/Endwall/

I have alot of stuff to do before school starts in September so I'm not going to be filling anymore requests until October, even if they're easy to do.


Anonymous 08/11/2017 (Fri) 01:29:34 [Preview] No. 17 del
>>16
I think I have an entirely different problem...

If there's a file named say 012345.jpg and if it's actually a .png file, renum.sh doesn't rename it to .png. If there's a file named 012345 renum.sh doesn't add the extension and instead if the command was renum --rand, it would become like 00004321.012345 so does this mean that I have to check all the file properties one by one then rename them to the proper extension accordingly because this script is not meant to rename file extensions to its proper file extension? (RIP me)

BTW, I'm using Archlinux, zsh, and rxvt-unicode.


Endwall 08/11/2017 (Fri) 03:06:40 [Preview] No. 18 del
>>17

Yeah this will require checking the file properties before renaming for each file. This can be done, say we will use exifftool.

# su
$ torsocks pacman -S perl-image-exifftool
$ exifftool file.png | grep "File Type"

I can incorporate this into the script. Thanks for the suggestion. I'll do this next week or something.


Endwall 08/11/2017 (Fri) 03:09:20 [Preview] No. 19 del
>>17
>>18
There will probably be a time penalty for checking this for each file. It might be a major slowdown so I can add the functionality with an option like --check-filetype.


Anonymous 08/11/2017 (Fri) 05:23:21 [Preview] No. 20 del
>>19
That'll be perfect. I got plenty of time though not bothered enough to check 121k+ files manually, lol.


Endwall 08/11/2017 (Fri) 21:24:53 [Preview] No. 21 del
>>20
I have added the requested functionality. You can turn it on with the flag --check-type

$ renum --rand --ranstr --check-type

There is a visible performance decrease but this should start to get all of the edge cases that you mentioned. Try it out and tell us how it works for you. Thanks for the idea. Cheers.


Anonymous 08/12/2017 (Sat) 14:28:22 [Preview] No. 22 del
>>21
It works wonderfully, thanks.


Endwall 06/17/2018 (Sun) 00:42:30 [Preview] No.28 del
DATELOOP
dateloop.sh
DATELOOP: a terminal clock with positioning for use in tmux.

USAGE: dateloop --option --option
dateloop --help # print usage information
dateloop --version # print version information
dateloop # standard left justified clock
dateloop --right # right justified clock
dateloop --mid # center justified clock
dateloop --left # standard left justified clock
dateloop --update 2 # time update is 2 seconds
dateloop --buffer 5 # Line buffer is 5 lines
dateloop --update 2 --buffer 5 --mid # place in middle 2 seconds 5 lines

uses the date command to make a terminal clock. I use this in tmux to put a clock in the middle of the top of the screen by making a window with CNRTL+b ; : ; split-window -l 60 , then I call

$ dateloop --mid --update 5.

I know there is a clock in the bottom right hand corner on the green bar, I just like a clock in the middle at the top. Usually when I'm in tmux with no Xorg on a server somewhere.

https://raw.githubusercontent.com/endwall2/endware/master/dateloop.sh

Available in the usual places.


Endwall 06/17/2018 (Sun) 00:56:56 [Preview] No.29 del
I'll start working on reorganizing endstream.sh for livestream news channel by state group sometime after July 10 2018. After that I should have winstream.bat ported to the latest channels from endstream sometime before August. After that I'll be getting ready for back to school in September. I'll work on the BSD ports sometime in September when I transition my online task computer to my OpenBSD station. I'll keep my parabola station online just for watching TV.


Anonymous 09/26/2018 (Wed) 00:52:07 [Preview] No.31 del
Telegram channels fetching in your browser, as iframes.

Without JS:
[code]
CH="gayasylum" FROM=170 TO=199 (echo "data:text/html;base64,"; (for i in
seq FROM $TO
; do echo "<iframe src=\"{i}?embed=1\"></iframe>";">http://t.me{CH}/${i}?embed=1\"></iframe>"; done)|base64)|xclip
[/code]
Change the ch, from and to bits, run this and paste your X11 primary selection into your browser. Don
t do big (> 100) ranges, you may get hiccups. Well, you *will* get them anyway, but t.me won
t give out htmls as requested on many simultaneous attempts.

With JS:
[code]
(echo "data:text/html;base64,";(echo '<script>(function(){var max = 500; var i = 1; var timer = setInterval(function(){if (i <= max) {var el = document.createElement("iframe"); el.src=("http://t.me/gayasylum/" + i + "?embed=1"); document.body.appendChild(el); i += 1;} else {clearInterval(timer);}}, 500);}());</script>' | base64))|xclip
[/code]

Your points of interest are values of max, i and the /gayasulum/ thing. And a timer value, the second 500.


Anonymous 09/26/2018 (Wed) 00:56:16 [Preview] No.32 del
>>31
Oops, we need [code] tags enabled in here.
Everything garbled up.



Top | Catalog | Post a reply | Magrathea | Return