RetroFed Forum
Your home away from modern life.
Corsaro: Search torrents in the terminal (Bash)
Post Reply
AuthorMessage
christos lemmy.world christos@lemmy.world
Joined: 2023-06-15
(edited) Quote

https://gitlab.com/christosangel/corsaro

corsaro is a script written in Bash that allows the user to search for torrents in the terminal .

colors1

The functions and the data are taken from https://piratebay.live/

Opening the script, the user through the main menu, can:

  • Search for a torrent

  • Search for a torrent in a category

  • Search for a torrent in multiple categories

  • Check out top 100 torrents in a category

  • Browse torrents in a category

  • Browse the most recent torrents

  • Repeat previous torrent search

  • Browse torrent search history and repeat a search using a stored key word

  • Configure the parameters of the script

88   Original
db2 lemmy.world db2@lemmy.world
Joined: 2023-07-29
#2 · Quote Reply

No A.I. was used for the development of this project.

That should be at the top.

33
GustavoM lemmy.world GustavoM@lemmy.world
Joined: 2023-06-23
#3 · Quote Reply

No A.I. was used for the development of this project. That should be at the top.

As someone who had lots of projects being flagged as "AI-made"...? OP is being smart of not making it the first thing to be read -- folks tend to "enjoy" overreacting way too much nowadays.

8
urushitan 漆たん kakera.kintsugi.moe urushitan@kakera.kintsugi.moe
Joined: 2026-03-28
#4 · Quote Reply

As someone who had lots of projects being flagged as "AI-made"...? OP is being smart of not making it the first thing to be read -- folks tend to "enjoy" overreacting way too much nowadays.

Ironically more people will likely read through the feature list at least because they are only there to hunt for AI Disclosure and post their rage but now otherwise have to actually know what the project does first and that it was not created with the use of AI second, so they can ignore it and move on, which may be the very reason for OPs comments and all those upvotes to begin with.

Granted it’s a double edged sword because there are also people who are genuinely interested in most new projects but want to quickly pass on something if AI is involved.

2
GustavoM lemmy.world GustavoM@lemmy.world
Joined: 2023-06-23
#5 · Quote Reply

Ironically more people will likely read through the feature list at least because they are only there to hunt for AI Disclosure and post their rage but now otherwise have to actually know what the project does first and that it was not created with the use of AI second, so they can ignore it and move on, which may be the very reason for OPs comments and all those upvotes to begin with. Granted ...

You've got a point there. Even if my approach of "Hey, you are free to think whatever you want about my project" has led me towards more "haters" than otherwise. But eh.

1
urushitan 漆たん kakera.kintsugi.moe urushitan@kakera.kintsugi.moe
Joined: 2026-03-28
#6 · Quote Reply

You've got a point there. Even if my approach of "Hey, you are free to think whatever you want about my project" has led me towards more "haters" than otherwise. But eh.

Yup, the whole point of AI disclosure is that people can skip a project and move on, but some people get off on being vitriolic so they take that as an invitation to post a shitty comment like "lol I'll pass on the slop" instead of anything constructive. Constructive criticism on my open source stuff is welcome, but certainly not unhelpful comments like that

1
pastermil sh.itjust.works pastermil@sh.itjust.works
Joined: 2023-06-15
#7 · Quote Reply

Perhaps a bit out of topic, but since we're talking about torrent search...

Doesn't bittorrent have a more agnostic torrent search?

3
MonkderVierte lemmy.zip MonkderVierte@lemmy.zip
Joined: 2025-05-30
#8 · (edited) Quote Reply

Would you mind using tput for the color definitions instead of fixed strings? Makes it a bit more portable.

4
christos lemmy.world christos@lemmy.world
Joined: 2023-06-15
#9 · Quote Reply

Would you mind using tput for the color definitions instead of fixed strings? Makes it a bit more portable.

Please elaborate

2
MonkderVierte lemmy.zip MonkderVierte@lemmy.zip
Joined: 2025-05-30
#10 · (edited) Quote Reply

Please elaborate

Well, there was the problem back then, that different terminals used different escape sequences, so tput was made as wrapper. Doesn't matter as much anymore, since most (but not all) emulators use the same-isch terminals and interface painting has mostly moved to GUI. But it's still something of a good manners thing.

4
MonkderVierte lemmy.zip MonkderVierte@lemmy.zip
Joined: 2025-05-30
#11 · (edited) Quote Reply

Well, there was the problem back then, that different terminals used different escape sequences, so tput was made as wrapper. Doesn't matter as much anymore, since most (but not all) emulators use the same-isch terminals and interface painting has mostly moved to GUI. But it's still something of a good manners thing.

Basically

yellow="$(tput setaf 3)"
blue="$(tput setaf 4)"
bluebg="$(tput setab 4)"

Also has the advantage of the variables being empty instead of printing sequences, if the terminal doesn't support colors.

7
Cyclohexane Moderator cyclohexane@lemmy.ml
Joined: 2021-12-27
#12 · Quote Reply

Is this only searching in pirate bay? Or did I misunderstand the readme?

I use Jackett for this.

1
christos lemmy.world christos@lemmy.world
Joined: 2023-06-15
#13 · Quote Reply

Is this only searching in pirate bay? Or did I misunderstand the readme? I use Jackett for this.

You understood fine.

1
Post Reply
Back to top