You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
693 B

4 years ago
* lolisp
Grab a random image from lolibooru, convert it to base64 and display
it on a web page.
This code is terrible because I am too.
** Setup
*** Dependencies
4 years ago
I use SBCL.
Most systems will be downloaded by quicklisp. You wll need to git
clone [[https://github.com/C-xC-c/manx-utils][manx-utils]], hunchenhelpers and [[https://github.com/notflan/cl-rng][cl-rng]] manually and add them to your
4 years ago
~local-projects~.
*** Hosting
4 years ago
- Clone the repo
4 years ago
- Move ~loli.example.service~ to ~/etc/systemd/system/loli.service~
4 years ago
- Change ~workingdirectory~ in ~loli.service~ to wherever your lolisp
is
- Run ~systemctl daemon-reload~
- Start lolisp with ~service loli start~
- View the page at ~*host*/loli~