💾 Archived View for station.martinrue.com › elektito › 0e9b9fa1df6d46a081183b449f541339 captured on 2024-07-09 at 02:00:59. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-05-12)

-=-=-=-=-=-=-

👽 elektito

So over the weekend I added "image search" to my search engine, "image" here meaning ascii art! You can try it here: gemini://gemplex.space/image/search.

There's also an option to show a random ascii art: gemini://gemplex.space/image/random

1 year ago · 👍 gritty, mozz, devyl, unknownbox, johano

Links

gemini://gemplex.space/image/search

gemini://gemplex.space/image/random

Actions

👋 Join Station

3 Replies

👽 eaplmx

Ha... Neat! gemini://gemplex.space/image/search?welcome · 1 year ago

gemini://gemplex.space/image/search?welcome

👽 elektito

It's a simple heuristic, based on stuff like the ratio of non-alphanumeric characters. It's not perfect, but it mostly works. You can take a look at the source if you want. https://git.sr.ht/~elektito/gemplex · 1 year ago

https://git.sr.ht/~elektito/gemplex

👽 mozz

Awesome! How are you determining if the preformatted block is ascii-art or something else like code? · 1 year ago