https://github.com/dyweb/sundial
[WIP] Open Source WakaTime Server
https://github.com/dyweb/sundial
Last synced: 8 months ago
JSON representation
[WIP] Open Source WakaTime Server
- Host: GitHub
- URL: https://github.com/dyweb/sundial
- Owner: dyweb
- License: apache-2.0
- Created: 2018-12-17T05:46:29.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-04T21:37:27.000Z (over 7 years ago)
- Last Synced: 2025-04-19T23:31:47.038Z (about 1 year ago)
- Language: Go
- Homepage:
- Size: 66.4 KB
- Stars: 14
- Watchers: 14
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Authors: AUTHORS.md
Awesome Lists containing this project
README
# Sundial
[](https://travis-ci.org/dyweb/sundial)
[](https://coveralls.io/github/dyweb/sundial)
Open Source WakaTime Server
## Getting Started
### Main Dependencies
- [caicloud/nirvana](https://github.com/caicloud/nirvana) Golang Restful API Framework for Productivity
- [jinzhu/gorm](https://github.com/jinzhu/gorm) The fantastic ORM library for Golang, aims to be developer friendly
### Building
```bash
dep ensure -s
make
```
### Running
```bash
./bin/sundial
```
### Debugging
First, we need to run the server, then we could use wakatime-cli to create a heartbeat:
```
python3 ./wakatime/wakatime/cli.py --file /home/ist/go/src/github.com/dyweb/sundial/pkg/apis/v1/descriptors/heartbeats.go --alternate-project sundial --write --api-url http://localhost:8080/apis/v1/users/current/heartbeats --verbose
```
We could get the log from `$HOME/.wakatime.log`.
## Versioning
### [v1](./pkg/apis/v1)
The goal of v1 is to provide the MVP of Sundial, which supports projects, users and durations API.
## Development Document
[devel.md](./docs/devel.md)
## Authors
Please see [AUTHORS.md](./AUTHORS.md).