I have a small YT channel [1] and I used to spend 30-40 mins recording and then 2-4 hrs editing to get a final 10-15 min video. Then I fully scripted my video editing using Python+MoviePy [2]. The time savings are sweet. I just feed it my raw video and get the finished video a few minutes later. It cuts out all the dead air as well as the parts I don't want (which I indicate in-video). In general scripting video edit…
Ask HN: Tools you have made for yourself?
231–240 of 458 posts
Re: Ask HN: Tools you have made for yourself?
#232Re: Ask HN: Tools you have made for yourself?
#233Probably i make one sw tool per month - whatever annoys me enough to go over the lazyness treshold.
Most of my toys (made last 25+ years) stay at https://github.com/svilendobrev/svd_bin
https://github.com/svilendobrev/svd_util (python stuff)
apart of the bigger ones there with own repos
most used stuff seems:
* shell wrappers/configs to make using terminals a more humane+repeatable thing. A system (="language") of plenty of aliases and shortcut keys, for many combinations of x-terms/shells, so regardless of which one it is, it gets same human interface. Remember 4dos? there. F2 is dir/ls..
* similar thing for vim. F2 for save. ctrl-f for find. etc..
* vcs.sh - similar thing for 5-6 revision control systems
...
* sound files searching/cutting/diffing - searching one record within another - think recognizing start and end signals of some radio show, cutting it out from several alternative recording sessions - e.g. digitized analog vs http/rtmp streams; and diff'ing the results ; the timeline can be warped a lot (Wow and flutter, yes, with some charts out)
* hundreds of others.. some of them i dont remember anymore what they were for :/
have fun
Re: Ask HN: Tools you have made for yourself?
#234[1]: https://kodes.app [2]: https://github.com/huytd/code-playground
Re: Ask HN: Tools you have made for yourself?
#235 curl | grep | tr | awk
pipes written into a loop in a bash script to scrape web pages and pull out text or data. I find if I'm just doing a one of, I can usually identify some feature of the html to pattern match one that lets me strip out the data in a very simple script and not have to use beautifulsoup etc.Re: Ask HN: Tools you have made for yourself?
#236I finally got past this problem by rolling my own audio recording software. I paste in the script, and the software highlights one sentence at a time. I tap a key to start recording that sentence. If I make a mistake or I'm not happy with how it sounded, one key press discards the audio and restarts the recording. When satisfied, one key press moves it to the next sentence.
When I'm done, I can download all of the recordings into one merged WAV, and I never have to hear any bad takes (it also trims 0.1 seconds from both ends of each sentence's audio so the key press noise is removed).
It's a little clunky, being home-grown and all, but it works great. Recording stuff is pretty easy now. I keep thinking about making it available to the public, but it's not yet polished enough for that.
Re: Ask HN: Tools you have made for yourself?
#237Project-cmd [1] (current itch):
A cli tool to standardize working on projects in different technologies. Think of package.json but for declaring/starting/stopping containers, creating db dumps, declaring data files (archives) to back up and restore and pushing db dumps + archives to a server via ssh and pulling them. Also editing the hosts file and jumping to a project's directory with a single command.
TouchOsc Generator [2]:
If you have tried to create complex TouchOsc [3] files things get repetitive and ugly very quickly. Touchosc-generator is a templating engine for TouchOsc files. You can create and reuse components and repeat + place them in grids via simple json files.
Emailed invoices
A simple node script checking my inbox for emails containing invoices simply regexing the sender and subject and automatically uploads them to the correct month's folder on my nextcloud server. Highly useful for accounting.
Accounting
A terrible meteor spa I wrote in 2015 for creating invoices and giving a simple accounting overview for my consulting business. It's quite crappy in some respects, but I created every single invoice since 2015 with it, so who knows...
D39r
My last flat had 2 levels and opening the door for the mailman meant running as fast as I could to the other end of other level of the flat. After opening up the intercom and finding that pushing the door button simply closed a circuit between 2 cables which in turn opened the door of the apartment building. An arduino relais, raspberry pi and a little bit of hacking later I could open the door via my smartphone. I used this as long as I lived there.
Mushrooms
I digitized a book about mushrooms with ~1200 pages by taking the book apart, scanning all the pages, writing a script to restore the pages order, using opencv to automatically detect blocks of text and images in the scans and mapping each image to the corresponding text blocks. Then used tesseract for ocr, manually corrected ~3000 paragraphs of texts with my girlfriend and developed several scripts to extract mushroom features for easily indexing/finding with a web app. Wouldn't/couldn't publish due to obvious copyright issues. This was a lot of work and I loved it!
[1] https://github.com/martinwittmann/project-cmd
Re: Ask HN: Tools you have made for yourself?
#238The part I built (the part that isn't just Trello) is not strictly necessary, but it was fun to make and it makes the guide more fun to browse. When you drop a new title on the board, a script grabs the description and cover image from TVDB and adds them to the card. Searching by title isn't foolproof, so in case it gets it wrong, the script temporarily embeds the other search results in the description. Marking one with an asterisk will trigger a fix.
Re: Ask HN: Tools you have made for yourself?
#239I operate a long-form nonfiction website, and back in 2012 we wanted to introduce a podcast episode version for each of our articles. I started tinkering with making recordings, but I suffered from the cringe of hearing my own voice, which was amplified by hearing every mistake and retake. I finally got past this problem by rolling my own audio recording software. I paste in the script, and the software highlights on…
Re: Ask HN: Tools you have made for yourself?
#240Macs use a different UTF8 encoding for file names, that causes all sort of weirdness when sharing files with Linux / Windows machines, so I've made a tool to convert these: https://github.com/wazoox/utfmacmv
I was constantly in need of cleaning my ssh known hosts list, so I've made a small script around "ssh-keygen -R" that removes both the lines for the hostname and its IP: https://github.com/wazoox/khc/blob/master/khc
Also I've made a small CGI script running on my PC to scan the local network and identifying newly connected machines (because I'm building and testing servers): https://github.com/wazoox/PingScan