Git-powered self-hostable online text editor.
- In
datadirectory you store text files, and marks enables you to edit or delete them, or add a new one. - On save, the change will be automatically added and commited by git.
- No fancy editing feature such as WYSIWYG.
- No tags, no categories, no subdirectories.
- Texts with
.mdextension are converted to html in the view mode. - Search file name and contents with
fd-findandripgrep(regex pattern supported). - Lightweight: Compressed docker image size is ~50MB.
- If not initialized,
git initin yourdatadirectory. To commit on save, adduser.nameanduser.emailtodata/.git/configlike this:
[user]
name = Kyohei Uto
email = "im@kyoheiu.dev"
- Use
docker compose up -dwithdocker-compose.yml. For example:
version: '3.3'
services:
marks:
user: '1000:1000' # must be the same as the user who executed `git.init`.
environment:
- MARKS_GIT_USER="marks" # default to 'marks'. Used for the signature when commiting.
- MARKS_GIT_EMAIL="im@kyoheiu.dev" # default to 'git@example.com'
volumes:
- './data:/marks/data:rw'
- '/etc/passwd:/etc/passwd:ro'
- '/etc/group:/etc/group:ro'
ports:
- '8080:8080'
container_name: marks
image: 'kyoheiudev/marks:0.5.0'
logging:
driver: json-file
options:
max-size: 1m
max-file: '3'
- frontend
- svelte
- backend
- rust(axum)
- git2