Post #4036347
2026-07-23 12:56 UTC
I added a few smaller things to Theriodex (https://theriodex.net)!
You can now type the name of a Pokémon or move into the URL bar rather than having to use the ID. It even works if you mistype! So https://theriodex.net/en/show/pokemon/vaporeeeon will work just fine! This works with moves, too: https://theriodex.net/en/show/move/Water Gun/gen/9.
I added a JSON endpoint for the search so that you can add it as a custom search engine to things like SearXNG! https://theriodex.net/en/json/search?q=vaporeon, for example. It supports limiting the query with a limit query parameter also.
I also made the search a lot better. It's still not great, but at least it doesn't take several seconds for a search anymore. I already had a cache for the Pokémon data so that it could be searched more quickly than with a DB query, but I extended it so that it actually does include all data now. The cache gets built once when the server starts now and has all the data it needs for the Pokémon search! This does add around 5 MB of memory use for the entire hash that I am using as a cache, but I think that's okay for now.
Replies (0)
No replies.