This website hosts and plays recordings that adhere to this format: asciicast v2
It's an extremely simple version of: asciinema-server
- Small and barebones
- Backend is entirely Openresty and Redis
Frontend is:
- Scrubber and seeking
- Chapters
- Better mobile experience
- Pipeline Redis queries
- When missing asciicast header, calculate a likely maximum terminal width
- Install Openresty from apt or whatever
- Requires Redis >= 6.2.0. Right now apt/snap may be installing 6.0.x, so build it from source
- It took me around 5 minutes to build it from source and configure it on ARM64, it's really easy
- install from source instructions
- config instructions
- Put the nginx.conf from this repo root where it goes, something like
/usr/local/openresty/nginx/conf
- Copy the directory structure from repo root wherever your html goes, something like
/usr/local/openresty/nginx/html
- mkdir
/var/log/openresty
and make sure openresty has permission to use it (or put your logs somewhere else) - Do your firewall and HTTPS stuff as needed