No description
Find a file
2025-10-04 19:14:21 +02:00
bruno/Gemlog refine navigation and loading enteries 2025-10-03 11:58:46 +02:00
gemlog rename project to gemlog-cli 2025-10-04 19:14:21 +02:00
templates setup base entity and change cli to print actions 2025-09-30 11:37:00 +02:00
.gitignore add db check fn and ignore debug logs 2025-10-01 23:32:53 +02:00
actionsList.go add page for reading a single gemlog entry 2025-10-03 12:29:06 +02:00
dev.sh init repo from gemini capsule project 2025-09-30 09:42:05 +02:00
entry.go add page for reading a single gemlog entry 2025-10-03 12:29:06 +02:00
entryList.go add page for reading a single gemlog entry 2025-10-03 12:29:06 +02:00
go.mod rename project to gemlog-cli 2025-10-04 19:14:21 +02:00
go.sum add config and bruno 2025-09-30 23:15:59 +02:00
main.go add page for reading a single gemlog entry 2025-10-03 12:29:06 +02:00
README.md get select edit, read, and delete working 2025-10-03 11:51:30 +02:00

Gemlog CLI Tool

Quick tool to write gemtext posts for my gemlog.

=> gemini://travisshears.com/gemlog

Dev

To run command locally:

$ go run .

Entites

Gemlog

  • id, uuid
  • title
  • slug
  • date
  • gemtxt
  • short? gemtxt < 250 char

Arch

For DB planning to use couch db

Use-cases

Create gemlog entry

Open editor with pre-filled template with frontmatter. Set example date (now), title, slug

Delete gemlog entry

Select from list then delete.

Edit gemlog entry

Select from list then edit.

Creating db

This project is backed by a nosql database, couchdb.

docs on couchbase permissions and users

Here is how to create the db and give user gemlog-cli access:

$ curl -X PUT http://admin:xxxxxxxxxxxxxxxxxxxxxxxxxxx@eisenhorn:5023/gemlog
$ curl -X PUT http://admin:xxxxxxxxxxxxxxxxxxxxxxxxxxx@eisenhorn:5023/gemlog/_security \
     -H "Content-Type: application/json" \
     -d '{"admins": { "names": [], "roles": [] }, "members": { "names": ["gemlog-cli"], "roles": [] } }'