webpgf
youtube-cue
webpgf | youtube-cue | |
---|---|---|
1 | 3 | |
0 | 14 | |
- | - | |
6.4 | 6.4 | |
11 months ago | 5 months ago | |
HTML | JavaScript | |
GNU Lesser General Public License v3.0 only | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
webpgf
-
Ask HN: What apps have you created for your own use?
I'm in the process of creating a web gallery for my Digikam [0] photo collection. The workflow is:
1. I organize all my photos in my computer, with albums, tags, faces, geolocation, etc.
2. The photos and the Digikam DB (SQLite) get replicated to my home server (using Syncthing, but anything would work).
3. Changes are automatically visible in the running webapp. I can access it anywhere, especially useful on mobile while away.
I have an MVP almost done, just had trouble with Digikam's thumbnails because they use an extremely obscure image format, PGF [1]. I wrote a WebAssembly version using emscripten that I called webpgf [2] and am now in the process of integrating with the web gallery. However I'm concerned about CPU and RAM use in the browser, so I will probably have to end up reencoding the thumbnails in the backend.
I will make a public announcement once the project is officially launched. It will be a bit crude at first, as it'd made to scratch my own itch, but I hope it will be useful to more people.
[0] https://www.digikam.org/
[1] https://en.m.wikipedia.org/wiki/Progressive_Graphics_File
[2] https://github.com/haplo/webpgf/
youtube-cue
-
Ask HN: What apps have you created for your own use?
> CLI: I wanted to download songs from youtube, but they were often stitched as complete albums - so I wrote a youtube-cue generator that generates cuesheets that can then be used to split and tag the yt-dlp downloaded audio file. (https://github.com/captn3m0/youtube-cue)
Thanks for this! I need to do some testing, this might automate the last manual step of my own script for converting YT mixes into distinct tracks. The problem I faced is that often the timestamps are not in the description, but instead in a comment, sometimes not even the pinned/top voted comment. That is why I paste it in via stdin for now.
As this fits the thread topic, a short description of this script. I enjoy YT mixes and wanted to listen to them in my car. I can use an USB stick with media files and playlists which are displayed decently by the infotainment system. I wrote a script that takes in a YT URL (or anything supported by yt-dlp), downloads & converts it to mp3, splits the mp3 file based on a list of timestamps, recognizes (tries to anyway) the songs via SongRec [0], tags & names the files correctly and finally generates an M3U playlist in the format recognized by my car. I use song recognition instead of parsing out the names from the timestamped list as the format of Artist - Title is nearly always slightly different. It was easier to use SongRec instead and get everything I need for tagging with >90% hit rate.
The heavy lifting is done by calling out to yt-dlp, ffmpeg and SongRec. I just glued them together with Python. I like your approach of a do one thing well and might add youtube-cue to the toolset.
[0] https://github.com/marin-m/SongRec
-
Beets is the media library management system for obsessive music geeks
Beets is amazing and comes with great defaults. I wrote code recently to generate CUE sheets from YouTube mixes[0] and beet imports it nicely and easily.
[0]: https://github.com/captn3m0/youtube-cue There is a bash snippet in readme to show the Beets integration.
What are some alternatives?
spotprice - Quickly get AWS spot instance pricing
picard - A cross-platform music tagger powered by the MusicBrainz database. Picard organizes your music collection by updating your tags, renaming your files, and sorting them into a folder structure, exactly the way you want it.
photo_id_resizer - Resize photo ID images using face recognition technology
stag - public domain utf8 curses based audio file tagger
dataplaneapi - HAProxy Data Plane API
full-text-tabs-forever - Full text search all your browsing history
RSS-Link-Database - Bookmarked archived links
BeetsPluginStructuredCommen
chatgpt-shell - ChatGPT and DALL-E Emacs shells + Org babel 🦄 + a shell maker for other providers
stag - STag: A Stable Fiducial Marker System
BeetsPluginStructuredComments
polychrome.nvim - A colorscheme creation micro-framework for Neovim