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
13424d3939
|
5 years ago | |
---|---|---|
.gitignore | 5 years ago | |
about.html | 5 years ago | |
config.example.lisp | 5 years ago | |
loli.example.service | 5 years ago | |
loli.lisp | 5 years ago | |
readme.org | 5 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
- Clone the repo
- Move
loli.example.service
to/etc/systemd/system/
and rename it tololi.service
- Change
workingdirectory
inloli.service
to wherever your lolisp is - Move
config.example.lisp
toconfig.lisp
and change*host*
to your domain name - Run
systemctl daemon-reload
- Start lolisp with
service loli start
- View the page at
*host*/loli