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

  • MonkderVierte@lemmy.zip
    link
    fedilink
    arrow-up
    1
    ·
    9 hours ago

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

      • MonkderVierte@lemmy.zip
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        9 hours ago

        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.

        • MonkderVierte@lemmy.zip
          link
          fedilink
          arrow-up
          5
          ·
          edit-2
          9 hours 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.

  • db2@lemmy.world
    link
    fedilink
    arrow-up
    33
    arrow-down
    1
    ·
    22 hours ago

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

    That should be at the top.

    • GustavoM@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      3
      ·
      20 hours ago

      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.

      • urushitan 漆たん@kakera.kintsugi.moe
        link
        fedilink
        arrow-up
        5
        arrow-down
        1
        ·
        17 hours ago

        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.

        • GustavoM@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          1
          ·
          17 hours ago

          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.

          • urushitan 漆たん@kakera.kintsugi.moe
            link
            fedilink
            arrow-up
            5
            arrow-down
            2
            ·
            17 hours ago

            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

            • Holytimes@sh.itjust.works
              link
              fedilink
              arrow-up
              3
              arrow-down
              1
              ·
              13 hours ago

              Honestly at this point it feels like anyone who just wants to pass on AI is also calm enough and enough of an adult to read the documentation and get to the disclaimer naturally. While the man children who just want to screech and yell about ai this and ai that. Can fuck off and we should do everything in our power to not make their life easy.

              There is nuance to this whole ai problem, and those who just want to spew their vitriol are also too childish to understand the nuance and thus aren’t worth catering to.

  • pastermil@sh.itjust.works
    link
    fedilink
    arrow-up
    3
    ·
    15 hours ago

    Perhaps a bit out of topic, but since we’re talking about torrent search…

    Doesn’t bittorrent have a more agnostic torrent search?