readme + cleanup

main
Talon 1 year ago
parent a275088fd7
commit 03323aa5c7

2
.gitignore vendored

@ -1 +1 @@
content/*
build/*

@ -1,8 +1,5 @@
build:
/usr/local/bin/kiln build
build: content
kiln build
publish:
rsync -r /home/specter/.local/share/html/talon.computer eattherich.club:/srv/html/specter
rsync -r /home/specter/.local/share/gmi/talon.computer eattherich.club:/srv/gmi/specter
.PHONY: kiln publish
publish: build
rsync -r build/html talon.computer:/srv/html

@ -0,0 +1,26 @@
# talon.computer
Powered by [kiln](https://sr.ht/~adnano/kiln/) and [gmi-web](https://git.talon.computer/talon/gmi-web).
```sh
make build && make publish
```
## How
Using the gmi-web CLI: `npm install --global gmi-web-cli` and [kiln](https://kiln.adnano.co/installation/) with this
this configuration in config.toml:
```config.toml
[[tasks]]
input = [".gmi"]
output = ".html"
template = ".gmi"
postprocess = "gmi-web --html en --foreground #444444 --background #9EEBCF"
output_dir = "build/html"
```
This will run your gemini files through gmi-web-cli (with some styling flags)
and save the results in `build/html`. Rsync that to your web server or what have
you.
See the man page for kiln(1) for more details.

@ -1,18 +1,19 @@
title = "talon.computer"
urls = ["https://talon.computer", "gemini://talon.computer"]
urls = ["https://talon.computer"]
# urls = ["https://talon.computer", "gemini://talon.computer"]
[feeds]
"/log/" = "talon.computer/log"
# [feeds]
# "/log/" = "talon.computer/log"
[[tasks]]
input = [".gmi"]
output = ".html"
template = ".gmi"
postprocess = "gmi-web --html en --foreground #444444 --background #9EEBCF"
output_dir = "/home/specter/.local/share/html/talon.computer"
output_dir = "build/html"
[[tasks]]
input = [".gmi"]
output = ".gmi"
template = ".gmi"
output_dir = "/home/specter/.local/share/gmi/talon.computer"
output_dir = "build/gmi"

@ -1,13 +1,8 @@
Welcome weary internet traveller. May your luck increase!
Welcome weary internet traveller.
=> log/ 📓 log
=> https://eattherich.club/@specter 📣 I post more frequently, and ephemerally, on Mastodon
=> mailto:chat@talon.computer 📧 chat@talon.computeremail never died! Let us correspond.
=> mailto:chat@talon.computer 📧 chat@talon.computeremail never died!
=> https://delta.chat/en/ (Psst! Delta Chat turns your email into a chat app, if you want.)
=> https://codeberg.org/talon 👨🏼‍💻 I also maintain some open source projects
=> https://git.talon.computer/talon 👨🏼‍💻 I also maintain some open source projects
> Humanity has passed through a long history of one-sidedness and of a social condition that has always contained the potential of destruction, despite its creative achievements in technology. The great project of our time must be to open the other eye: to see all-sidedly and wholly, to heal and transcend the cleavage between humanity and nature that came with early wisdom. —Murray Bookchin
=> //gmi.eattherich.club eattherich.club

Loading…
Cancel
Save