tripod

所属分类:自然语言处理
开发工具:Common Lisp
文件大小:16KB
下载次数:0
上传日期:2022-09-21 07:18:26
上 传 者sh-1993
说明:  Tripod是一个CommonLisp web服务器,旨在简化纯文本、HTML和Gopher网站托管。
(Tripod is a Common Lisp web server aiming to ease plain text, HTML, and Gopher website hosting.)

文件列表:
LICENSE (1266, 2022-09-21)
example.tripod (39, 2022-09-21)
makefile (640, 2022-09-21)
src (0, 2022-09-21)
src\activitypub.lisp (4371, 2022-09-21)
src\cli.lisp (7240, 2022-09-21)
src\gemini.lisp (7092, 2022-09-21)
src\gopher.lisp (7795, 2022-09-21)
src\html.lisp (8204, 2022-09-21)
src\model.lisp (1711, 2022-09-21)
src\package.lisp (655, 2022-09-21)
src\parse.lisp (9731, 2022-09-21)
tripod.asd (793, 2022-09-21)

#+TITLE:Tripod, the minimalist/absolutist blog engine Tripod is a blog engine that you can run on your directory, dynamically hosting all the files from it to be accessible over HTTP(S), Gopher and Gemini, and being processed from a range of formats: HTML, Gemtext, Markdown, for instance. Tripod tries to make hosting a blog as simple as possible, while putting many restrictions on you as a writer to make your content appear nice and accessible on all the supported networks. These restrictions are mostly based on the content-focused wisdom of Gemtext monks, so you most probably should use Gemtext as the default text format for Tripod. * Getting started First, clone the repository: #+begin_src sh git clone https://github.com/aartaka/tripod #+end_src Then, open the directory it'd been cloned to and build Tripod (ensuring you have all the dependencies): #+begin_src sh make all #+end_src After that, you can run Tripod to host your files: #+begin_src sh # Start hosting files at Gopher (port 70), Gemini (port 1965) and # HTTP(S) (80/443) with respective certs/ ./tripod -d /path/to/your/blog/directory -p 70 -m 1965 -t 80 -s 443 -c /path/to/cert/file -c /path/to/public/key #+end_src * Special files Tripod uses lots of special files for page structure and content layout. Some are format-specific, some ” universal. Here's a rough list: - Page structure: - template.html :: An HTML template. Specific to HTML backend, as HTML is much more content-full than Gemini/Gopher and thus needs a bit more styling, fonting, etc. SHOULD have a and with
, MAY have a
and
(if you use footer.html header.html), the rest is up to you. - footer.XXX :: Footer specific to a certain format. - header.XXX :: Footer specific to a certain format. - 404.XXX :: An 404/Page-Not-Found page. Any format is fine, but only one will be used.

近期下载者

相关文件


收藏者