cross-posted from: https://lemmy.world/post/52083066

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

all 6 comments

sorted by: hot top controversial new old
[–] 5 points 1 month ago* (last edited 1 month ago)

I might be tempted to try it out if other torrent sites were supported.

  • source
  • [+] -16 points 1 month ago (4 children)
  • [–] 2 points 1 month ago (2 children)

    Sorry if it's obvious but why trash ?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 9 points 1 month ago

    Depending on their opinion it could be

    1. Because they prefer a fancier shell that isn't bash
    2. Because they prefer their shell scripts to be in standard POSIX Compliant shell language without the bash extensions and features
    3. Most likely answer that bash is pretty good for hacking some stuff together, but not great for larger long term maintainable projects versus other programming languages.

    I think it's fun though, and I'm not going to be the one maintaining it 😛

  • source
  • parent
  • [–] 1 point 1 month ago

    same reason you don't curl GET anything or escalate bomb your shell session. If you want to get compromised, this is the best method to do so. it's an insecure language for an insecure environment.

    🤡 1
  • source
  • parent
  • 13 comments in c/linux@lemmy.ml view that post
    [–] 33 points 1 month ago (5 children)

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

    That should be at the top.

  • source
  • hideshow 5 child comments
  • [–] 7 points 1 month ago (4 children)

    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.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 2 points 1 month ago (3 children)

    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.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 1 point 1 month ago (2 children)

    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.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 1 month ago (1 child)

    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

  • source
  • parent
  • hideshow 1 child comment
  • load more comments (1 reply)
  • [–] 5 points 1 month ago* (3 children)

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

  • source
  • hideshow 3 child comments
  • [–] [S] 3 points 1 month ago (2 children)
  • [–] 5 points 1 month ago* (last edited 1 month ago) (1 child)

    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.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 8 points 1 month ago* (last edited 1 month ago)

    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.

  • source
  • parent
  • [–] 4 points 1 month ago

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

    Doesn't bittorrent have a more agnostic torrent search?

  • source
  • [–] 1 point 1 month ago (1 child)

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

    I use Jackett for this.

  • source
  • hideshow 1 child comment
  • 4 comments in c/linux@lemmy.world view that post
    [–] 5 points 1 month ago (3 children)

    I’m out of the loop, is piratebay.live even legit? I thought TPB got taken down and turned into a honeypot

    Anyway, just starting a conversation, might be an opportune time to bust out the ol hat

  • source
  • hideshow 3 child comments
  • [–] 4 points 1 month ago (1 child)

    Is not down, just dns blocked and it keeps its domain (was it Org?) but hosts nothing, it's all magnet links. And many torrents are bad quality, definitely not the better tracker.

    That domain this tool uses, I do not recognize. My goto solution is prowlarr (and torrentfreak for news.)

    Oh, and torrentio.

    Still gotta try nbznd tho these days I streamio a lot. Hehe.

  • source
  • parent
  • hideshow 1 child comment