ca8fac2019fefdfd5622f19bd395e8e1554eb394
marcus-web
Personal blog powered by Hugo with gopher/phlog support. Many references to I Saw The TV Glow its a fantastic movie.
Clone
git clone ssh://git@git.sdf.org/mnw/marcus-web.git
cd marcus-web
Setup
./scripts/setup.sh
source .venv/bin/activate
Usage
See scripts/execution-notes.txt for full details, but the short version:
# Movies (Frank's Couch)
python scripts/import_letterboxd.py
# Beer Calls (Luna Juice)
python scripts/new_beercall.py
# Beer Events
python scripts/new_lunajuice.py
# Tech Posts (Fun Center)
python scripts/new_techpost.py
Publishing
# Hugo site only
./scripts/remote_publish.sh
# Hugo + Gopher
./scripts/remote_publish.sh --gopher
# Gopher only
./scripts/remote_publish.sh --gopher-only
Hugo builds happen on SDF via git pull. Gopher content is built locally and rsynced to ~/gopher/blog/.
Gopher / Phlog
Posts can be published to SDF gopherspace by adding phlog: true to the frontmatter:
---
title: 'My Post'
phlog: true
---
First-Time Gopher Setup on SDF
Before the first gopher deploy, make sure the blog/ directory exists on SDF:
ssh mnw@sdf.org "mkdir -p ~/gopher/blog"
Then run the initial deploy:
./scripts/remote_publish.sh --gopher-only
Gopher URLs
| Location | URL |
|---|---|
| Gopher root | gopher://sdf.org/1/users/mnw/ |
| Blog index | gopher://sdf.org/1/users/mnw/blog/ |
| Frank's Couch | gopher://sdf.org/1/users/mnw/blog/franks-couch/ |
| Fun Center | gopher://sdf.org/1/users/mnw/blog/fun-center/ |
| Web proxy | Floodgap Proxy |
References
Description
Languages
Python
91.8%
HTML
3.7%
Shell
2.2%
JavaScript
1.4%
CSS
0.9%