https://github.com/callmesalmon/microblog
MicroBlog: A miniscule blogging engine written almost entirely in common lisp!
https://github.com/callmesalmon/microblog
blog-engine clisp common-lisp minimalist
Last synced: 5 months ago
JSON representation
MicroBlog: A miniscule blogging engine written almost entirely in common lisp!
- Host: GitHub
- URL: https://github.com/callmesalmon/microblog
- Owner: callmesalmon
- License: apache-2.0
- Created: 2024-12-01T21:48:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-02T22:16:33.000Z (over 1 year ago)
- Last Synced: 2025-03-29T12:27:50.031Z (about 1 year ago)
- Topics: blog-engine, clisp, common-lisp, minimalist
- Language: Common Lisp
- Homepage:
- Size: 137 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MicroBlog
MicroBlog is a miniscule blogging engine which allows you to create your very own
blog in CLisp (Common Lisp)! It has been made to be as asthetically pleasing as
possible while still being easy to use (if you know CLisp, no way to avoid that).
MicroBlog was mostly written for me to learn CLisp, but it's actually a pretty
useful tool if you want to write a blog.
## Requirements
* A CLisp compiler (SBCL recommended)
* ASDF
* [Others](/microblog.asd)
## Install
```sh
git clone https://github.com/ElisStaaf/microblog
./install # Assuming that your ASDF directory is "$HOME/common-lisp"
```
## Examples
```lisp
(require :asdf)
(asdf:operate 'asdf:load-op '#:microblog)
(asdf:operate 'asdf:load-op '#:microblog-systems)
(asdf:operate 'asdf:load-op '#:microblog-datastore-mongodb)
(asdf:operate 'asdf:load-op '#:microblog-markup-rst)
(asdf:operate 'asdf:load-op '#:microblog-theme-mirev)
(restas:define-module #:myblog
(:use #:cl))
(in-package #:myblog)
(restas:mount-module -microblog- (#:microblog)
(microblog:*blog-name* "My blog")
(microblog:*posts-on-page* 10)
(microblog.internal.datastore:*datastore* (make-instance 'microblog.datastore.mongodb:microblog-mongo-datastore))
(microblog.internal.markup:*markup* (make-instance 'microblog.markup.rst:microblog-rst-markup))
(microblog.internal.theme:*theme* (make-instance 'microblog.theme.mirev:microblog-mirev-theme))
(microblog:*disqus-enabled* nil))
(restas:start '#:myblog :port 8080)
```
For more, see the [examples](/examples) folder.