update readme

master
not manx 5 years ago
parent 13424d3939
commit 554f30858c
Signed by: C-xC-c
GPG Key ID: F52ED472284EF2F4

2
.gitignore vendored

@ -1,2 +1,4 @@
config.lisp
loli.service
\#*#
*~

@ -9,7 +9,6 @@
<p>Gets a random loli from lolibooru, converts it to base64 and displays it in the browser.</p>
<p>By default it only searches for images tagged as safe. You can pass <code>rating=q</code> or <code>rating=e</code> if you're feeling lewd.<br /> Passing <code>rating=-e</code> will randomly choose a non-explicit image and so fourth.</p>
<p>Tring to query lolibooru via the URL otherwise will not work.</p>
<p>Made by <a href="mailto:boku@plum.moe">Manx</a></p>
</p>
<p>Made by <a href="mailto:boku@plum.moe">Manx</a>, source available on <a href="https://github.com/C-xC-c/lolisp">github</a>.</p>
</body>
</html>

@ -1,15 +1,17 @@
(asdf:load-system :cl-rng)
(asdf:load-system :manx-utils)
(asdf:load-system :cl-ppcre)
(asdf:load-system :aserve)
(asdf:load-system :dexador)
(asdf:load-system :jsown)
(asdf:load-system :qbase64)
(mapc
(lambda (x) (ql:quickload x))
'(:cl-rng
:manx-utils
:cl-ppcre
:aserve
:dexador
:jsown
:qbase64))
(load #p"config.lisp")
(when (null *host*)
(print "Can't have null host")
(print "Host can't be nil")
(exit :code -1))
(defun get-loli (rating)

@ -4,9 +4,15 @@ 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 [[git@github.com:C-xC-c/manx-utils][manx-utils]] and [[public@flanchan.moe:cl-rng.git][cl-rng]] manually and add them to your
~local-projects~.
***
- Clone the repo
- Move ~loli.example.service~ to ~/etc/systemd/system/~ and rename it
to ~loli.service~
- Move ~loli.example.service~ to ~/etc/systemd/system/loli.service~
- Change ~workingdirectory~ in ~loli.service~ to wherever your lolisp
is
- Move ~config.example.lisp~ to ~config.lisp~ and change ~*host*~ to

Loading…
Cancel
Save