Instead of the url. There’s a lot of dfg7dfg97dfg “names” of links on that page, which is pretty useless.

On the $meta front, it seems when a copy of a generator is made it has the same $meta.title, .description, etc. Which I guess is the most straightforward way. Would be cool if the description was edited with (copy of perchance.org/...) at the start, something like that? As a small way to credit who originally made it, but more usefully so people know who are browsing the generators page that it could well just be someone messing about with changing/adding things to try it out, and not a real “full” generator that’s been made with care and ready for release. (In lieu of “private” not being the default.)

    • wthit56@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 month ago

      Ah cool, I’ll check that out. Come to think of it, a .nsfw flag on the $meta would be cool, for those generator pages so they can easily filter for people.

    • wthit56@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 month ago

      Oh wow, it’s just another generator page? Looks like it uses perchance.org/api… is that just freely available to use? Is there any documentation as to how it works/how to use it?

      • VioneT@lemmy.worldM
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 month ago

        There isnt really a documentation to it, but it only accepts one parameter as far as I tested. Also it just returns recently updated generators up to a week regardless if you make the number large enough. If you want to retrieve generators by url, check the generator list template which is used to create the generator hubs.

        • wthit56@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          1 month ago

          Cool… Yeah, I was just wondering if there are other apis we could make use of. I think the image generator uses /api/generator for example.

          How was this one discovered? Or was it simply used in the original generator list and you found it in the source?

          • VioneT@lemmy.worldM
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 month ago

            It’s was just found on the source. The AI apis are not so public, you have to use the plugin directly.