/restic-api

A RESTish API wrapper around restic CLI.

Primary LanguageGoBSD 2-Clause "Simplified" LicenseBSD-2-Clause

restic-api

NOTE this is pre-alpha, it will change and I may force push. You've been warned!

A RESTish API wrapper around restic CLI.

Run

go run restic-api.go

Test

http localhost:8080

Performance

docker run --rm -it williamyeh/wrk -t4 -c1000 -d30s http://$DOCKER_HOST_IP:8080

Todo

  • Proof Of Concept
  • Use actual environment vars
  • Implement listing snapshots
  • Implement downloading files
  • Dynamically specify password/repo in headers?
  • Document Usage

References

restic