A static HTML page that takes Markdown documents and turns them into a self-hosted wiki. Ideal for taking a copy of your personal flat file wiki with you if you'll be disconnected. Can be served with something as simple as
python3 -mhttp.server on your machine.
It is recommended by the developers that you download the latest release from Github and copy the contents of the
dist/ folder therein to wherever you have your markdown docs stored for installation.
tinysearch is a lightweight, fast, full-text search engine. It is designed for static websites.
tinysearch is written in Rust, and then compiled to WebAssembly to run in a browser. It can be used together with static site generators such as Jekyll, Hugo, Zola, Cobalt, or Pelican.
The test index file of my blog with around 40 posts creates a WASM payload of 99kB (49kB gzipped, 40kB brotli).
Only finds entire words. As a consequence there are no search suggestions (yet). This is a necessary tradeoff for reducing memory usage. A trie datastructure was about 10x bigger than the xor filters. New research on compact datastructures for prefix searches might lift this limitation in the future.
Since we bundle all search indices for all articles into one static binary, we recommend to only use it for small- to medium-size websites. Expect around 2 kB uncompressed per article (~1 kb compressed).
A proof-of-concept inspired and enabled by Hosting SQLite Databases on Github Pages and the ensuing Hacker News post. The compiled single-page app supports autocomplete for titles, automatic redirecting & other MediaWiki datasets like WikiQuote or Chinese Wikipedia. It makes no external API calls except to get Wikipedia's images.
Seems ideal for making offline copies of Wikipedia (or other Mediawiki installs, it's implied) available.
Search is disabled right now.
SQLite copies of Wikipedia: https://www.kaggle.com/segfall/markdownlike-wikipedia-dumps-in-sqlite
Has instructions for turning an XML dump of Wikipedia into a SQLite database; unfortunately it uses node.js.
There is a native Arch Linux package, too.
A very simple static homepage for your server. No build process involved. Edit a YAML file, add titles, icons, and links to the services running on the server, load it in a browser. Unusually pretty, unusually handy. Never thought I'd like it.
Static security analyzer for Golang code. Checks against the Golang AST. Tries to verify some best practices (no hardcoded credentials, listening on 0.0.0.0 by default, things like that. Has all of the usual CLI options you'd hope it has.
Jekyll is a static blog implemented using Bootstrap meant for use by developers and designers. It was specifically designed to be deployed as a Github Page for development projects. Has an online installer. If you need something fast and easy, this is a good possibility.
No database. Uses Git on the back end.
The main thrust of the article is how to whip together a quick and dirty HTTP server for static pages using Python and Cherrypy. I saved this article because the worst-ranked response also tells you how to hardcode (read, make configurable at runtime) the port and IP address a CherryPy instance listens on.
cherrypy.server.socket_port = 80
cherrypy.server.socket_host = '0.0.0.0'