this post was submitted on 08 Jan 2024
91 points (92.5% liked)

Technology

58303 readers
11 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 

After enjoying a lot of FOSS posts, I wanted to share this little utility I made to give back to the community (and to improve it haha)!

INB4: This program is experimental and has bugs. Is mainly used by me and a couple of friends so any issue on github or here is more than welcomed. Also suggestion, etc.

Contributions are more than appreciated

From the readme

TransTerm is an highly experimental text based graphical user interface to act on YouTube videos.

Being text based, this program runs even in the terminal.

TLDR Listing features:

  • Download any youtube video at the highest resolution by default in mp4 format
  • Is able to automatically convert the downloaded video both in mp3 or wav format
  • Playlist support for the above features including automatically rename the files using the video title and the channel name
  • Playlists organization in folders with resume support (aka check if files are already there with the same title and channel)
  • Transcribe a ssingle downloaded video using either: • Google Audio to Text • Google Audio to Text + Silence detection • Sphynx CMU (processed offline locally)

TLDR Working on:

  • Some kind of progress check so that it does not look stuck (especially in playlists)
  • Better error management (if i find other errors or you guys do)
  • Maybe channel support, I don't know if ethically is ok

HUGE DISCLAIMER

This tool is ONLY for personal use and for permitted uses. I created this cause I needed a transcription tool and now I also use it to save playlists or songs offline for long trips. Don't do that if you can't.___

top 15 comments
sorted by: hot top controversial new old
[–] [email protected] 37 points 10 months ago (2 children)

And here I thought this would be about programming socks and stuffed sharks

[–] [email protected] 14 points 10 months ago

Give me Blahaj or give me death

[–] [email protected] 2 points 10 months ago

Glad I'm not alone lol

[–] [email protected] 13 points 10 months ago (1 children)

For the screenshot you might want to use a terminal that doesn't have bloom, a CRT filter, and a background, I genuinely can't see the TUI.

[–] [email protected] 3 points 10 months ago

lol sorry for that I'll correct it as soon as possible!

[–] [email protected] 11 points 10 months ago (1 children)
[–] [email protected] 7 points 10 months ago* (last edited 10 months ago)

Ye and in the terminal :) I find easier to copypaste and click buttons sometimes

Late edit: and also great project, genuinely didn't know it (using pytube)

[–] [email protected] 5 points 10 months ago

I was just looking for a good, local transcriber a few weeks back, thanks for the project!

[–] HamBrick 2 points 10 months ago (1 children)

I just finished adding spotify support to my own version of this a couple days ago. Well done, looks far better than mine.

[–] [email protected] 2 points 10 months ago (2 children)

curious! Send github :) If it's in python, why not collab (i mean, in our free time)

[–] HamBrick 1 points 10 months ago (1 children)

Sorry for completely forgetting to respond to this. Getting my stuff ready for github now, will report back with link

[–] [email protected] 2 points 10 months ago (1 children)

I completely forgot too, incidentally I opened my Lemmy instance tonight and wow, what a timing. Looking at it (ps. thanks for the compliments!) ASAP , I am a little demotivated because I discovered JD2 does the exact thing of my software but well, at least mine is in the command line lol

[–] HamBrick 1 points 10 months ago

You do you, if I ever decide I need a challenge I’ll open a PR and see if I can adapt my code to work nicely with yours.

[–] HamBrick 1 points 10 months ago

Warning: my code it not nearly as pretty or organized as yours, nor is it Object oriented in the way you're supposed to do it. github link

[–] [email protected] 2 points 10 months ago* (last edited 10 months ago)

Matt Walsh has already made an hour long rant about this.