website

command module
v0.0.0-...-91ab29c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2024 License: GPL-3.0 Imports: 24 Imported by: 0

README

My current webpage.

It gets hosted on fly.io for free (!).

It is now running at https://karelbilek.com

Functionality of this hacked-together code:

  • it gets hosted both as HTTP and Gemini
    • Gemini is a simple Gopher-like protocol that nobody uses
    • see gemini://karelbilek.com with LaGrange browser
    • 90% of complexity in this code is that it serves both gemini and http
    • it is using https://git.sr.ht/~sircmpwn/kineto and https://github.com/n0x1m/gmifs code, but very heavily modified. I will probably simplify it further if I ever have time (not).
    • I keep using the gemini stuff even when it has 0 views; I like how it forces me to make the webpage ridiculously simple
  • it auto-deployes on fly.io using github workflows
  • it saves visit data to SQLite that is also on fly.io and displays them on https://karelbilek.com/visits.txt
  • it works both locally with go run . and with deployments to fly.io, including the SQLite
  • choronocomics has index of supermegamonkey comics archive, and some experiments with react/redux
  • the actual content is in public/, in raw gemini format

It is licensed GPLv3, mainly because kineto is

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
chronocomics
Package fileserver implements a gemini handler function to serve files with optional auto indexing for directory listings.
Package fileserver implements a gemini handler function to serve files with optional auto indexing for directory listings.
Package gemini implements the protocol for use with a file server, certificate generation and facilities for interceptors and middlewares.
Package gemini implements the protocol for use with a file server, certificate generation and facilities for interceptors and middlewares.
Package middleware add few reusable middleware packages that work together with the gemini package.
Package middleware add few reusable middleware packages that work together with the gemini package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL