Skip to content

DEVELOPEST/gtm-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

GTM sync

This client is meant to be run wherever it can access your git repository to fetch time data from notes and sync it up to backend (gtm-api)

Installation

You can install it to debian based system via .deb package which you can find in Gihub Releases.

Usage

Add repo with

curl -H "Content-Type: application/json" \
  --request POST \
  --data '{"url": "<ssh_clone_url>"}' \
  http://localhost:8090/repositories

or by manually editing config file.
Example config can be found in config/config.toml

Sync repo with

curl http://localhost:8090/repositories/<provider>/<user>/<repo>/sync

For more endpoints see src/server/controller.rs

Contributing

We are happy to welcome all contributions! See CONTRIBUTING.md for more details.