Important
This code is pretty much ALL generated via AI.
This includes Go, JavaScript, CSS and HTML.
It was done as part of a "vibe coding" session.
I've made slight code tweaks to make it easier to maintain, but not much.
The code is still very much an AI :dumpster-fire:,
But I am still surprised at how well it works,
and also how quickly AI got me to a working product.
https://gist-archiver.netlify.app/
or
open index.htmlmake buildI have a GitHub Actions workflow that pulls the latest public gists daily.
The user interface includes a client-side search feature powered by Lunr.js. It supports:
- Prefix matching: Find gists as you type.
- Word stemming: Searching for
iteratewill also find gists withiterationoriterating.
For more details, see the search guide.
Detailed documentation on how the code works can be found in the ./docs/index.md file.
Write and structure your gists however you like.
But if you want the "tag" feature that this UI provides then you'll need to ensure the "Gist description..." field contains twitter-like hash tags.
For example...
<description> #<tag1> #<tag2>
So a real example might be a gist whose description looks like this:
structured logging #go #logs