Use base64 to steal lolis because HTTP headers are hard https://plum.moe/loli
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.
 
not manx cfefe1a793
Get loli link correctly now
2 years ago
.gitignore Use asdf:defsystem 2 years ago
loligram.lisp Get loli link correctly now 2 years ago
lolisp.asd The Game 2 years ago
main.lisp loligram should be POST 2 years ago
package.lisp The Game 2 years ago
readme.org Use asdf:defsystem 2 years ago
utils.lisp The Game 2 years ago

readme.org

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

I use SBCL.

Most systems will be downloaded by quicklisp. You wll need to git clone manx-utils, hunchenhelpers and cl-rng manually and add them to your local-projects.

Hosting

  • Clone the repo
  • Move loli.example.service to /etc/systemd/system/loli.service
  • 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