https://github.com/eggplants/gemini
My gemini site: Publish Gemtext (markup language for gemini) to sourcehut automatically
https://github.com/eggplants/gemini
Last synced: 6 months ago
JSON representation
My gemini site: Publish Gemtext (markup language for gemini) to sourcehut automatically
- Host: GitHub
- URL: https://github.com/eggplants/gemini
- Owner: eggplants
- Created: 2021-09-16T20:00:15.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-09-18T17:15:27.000Z (almost 2 years ago)
- Last Synced: 2025-10-20T08:31:52.821Z (10 months ago)
- Homepage: https://eggplants.srht.site
- Size: 185 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gemini
[](
) [](
)
## Template
## WHAT?
- Publish gmi documents to sourcehut automatically:
- [gemini://eggplants.srht.site](https://portal.mozz.us/gemini/eggplants.srht.site)
-
## Step
1. [Fork me](https://github.com/eggplants/gemini/fork)
1. [Register sourcehut](https://meta.sr.ht/register)
1. [Generate OAuth2.0 Personal Token](https://meta.sr.ht/oauth2/personal-token)
1. Set generated PAT `PH_TOKEN` of repository's Secrets in Settings (see [docs](https://docs.github.com/en/actions/reference/encrypted-secrets#creating-encrypted-secrets-for-a-repository))
1. Modified gmi docs and directories in `./pub/gmi/`
1. Change [USERNAME](https://github.com/eggplants/gemini/blob/bff21010c6b49f9e7b50b50a94cd86316261a88d/.github/workflows/deploy.yml#L37) into yours
1. CI works by pushing your commits to repo or running [manually](https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow#running-a-workflow)
1. Deployed!
## CheatSheet for writing Gemtext
```md
# Title
## heading
Hello! This is...
* 1aaaa
* 2bbbb
* 3cccc
> he says:
> Heeloooooooooooo woooold!!!!
## Link
=> gemini://hogee.com ほげえ
=> gopher://hugaa.com ふがあ
## Code
```
echo test
```
```
## Demo

## TIPS
### Use [Asuka](https://git.sr.ht/~julienxx/asuka) (TUI client)
```bash
git clone --depth 1 https://git.sr.ht/~julienxx/asuka
cd asuka
command -v cargo >/dev/null || {
curl https://sh.rustup.rs -sSf | sh
source $HOME/.cargo/env
}
cargo build --release
sudo install -m+x target/release/asuka /usr/local/bin
asuka
```

### Use [Lagrange](https://gmi.skyjake.fi/lagrange/) (GUI client)
```bash
if command -v brew >/dev/null; then
brew install --cask lagrange
else
command -v ail-cli >/dev/null || {
sudo add-apt-repository ppa:appimagelauncher-team/stable
sudo apt update
sudo apt install appimagelauncher -y
}
wget https://git.io/JztqW
ail-cli integrate Lagrange-*
fi
xdg-open gemini://eggplants.srht.site
```
