Discover Packages
github.com/bborbe/git-rest
command
module
Version:
v0.6.1
Opens a new window with list of versions in this module.
Published: Apr 11, 2026
License: BSD-2-Clause
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
git-rest
Lightweight REST API server for reading and writing files in a git repository. Automatic git commit and push on writes. Periodic git pull to stay in sync.
Features
GET /api/v1/files/*path — read file
POST /api/v1/files/*path — create/update file + git commit + push
DELETE /api/v1/files/*path — delete file + git commit + push
Periodic git pull (configurable interval)
No database, no web UI — just a REST API for a git repo
Quick Start
git-rest \
--repo /path/to/repo \
--listen :8080 \
--pull-interval 30s
License
BSD-2-Clause
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Code generated by counterfeiter.
Code generated by counterfeiter.
pkg
Click to show internal directories.
Click to hide internal directories.