Giter Club home page Giter Club logo

wat's Introduction

WaT

Work-in-progress drop-in WakaTime replacement.

NOTE: WaT is still in early phases of development, nothing is final yet.

Demo(incomplete) version is running at https://wat.iptq.io.

Why?

I've nothing against WakaTime, and I'm personally very grateful for the community they've built around tracking coding statistics. But at the end of the day, I'd like to keep my own data, and hopefully you do too. This project gives you the option to host a WakaTime-compatible server while allowing you to continue using the great plugins that people have developed for WakaTime.

Usage

See the wiki for more details:

Roadmap

See the 0.1 milestone for progress.

Contact

Author: Michael Zhang

License: MIT

wat's People

Contributors

iptq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

m8e iq-scm draysams

wat's Issues

Website Features Checklist

  • User-related Stuff
    • Registration
    • Login
    • Logout
    • Forgot password
    • Change password
    • Verify email
  • Dashboard
    • Day-by-day breakdown
    • Project breakdown
    • Language breakdown
    • Editor breakdown
    • Project list

Documentation on how to run

I am not familiar with Rust, so a little documentation on how to get the project started would be great. Or alternatively, as already mentioned in #1, having a Dockerfile would be nice too.

EDIT: I just saw that barely any API endpoints are implemented so far, so it seems like the project is indeed not usable, yet. I had the same idea and wanted to do my own implementation before I found yours. I'd be so happy if you would continue this project, since I will probably not have enough time.

Build Docker Container

Hi,

I`d like to test you Applikation, but I could not build the container from scratch. (See Attached Infos). Would you like to share your Docker Container at Docker Hub?

docker-compose up
Building wat
Step 1/10 : FROM golang:onbuild
# Executing 3 build triggers
 ---> Using cache
 ---> Running in 7083461d51b0
+ exec go get -v -d
github.com/frankenbeanies/uuid4 (download)
github.com/go-xorm/core (download)
github.com/go-xorm/xorm (download)
github.com/go-xorm/builder (download)
github.com/gorilla/mux (download)
github.com/iptq/wat (download)
package github.com/iptq/wat/lib/models: cannot find package "github.com/iptq/wat/lib/models" in any of:
	/usr/local/go/src/github.com/iptq/wat/lib/models (from $GOROOT)
	/go/src/github.com/iptq/wat/lib/models (from $GOPATH)
github.com/spf13/viper (download)
github.com/fsnotify/fsnotify (download)
Fetching https://golang.org/x/sys/unix?go-get=1
Parsing meta tags from https://golang.org/x/sys/unix?go-get=1 (status code 200)
get "golang.org/x/sys/unix": found meta tag main.metaImport{Prefix:"golang.org/x/sys", VCS:"git", RepoRoot:"https://go.googlesource.com/sys"} at https://golang.org/x/sys/unix?go-get=1
get "golang.org/x/sys/unix": verifying non-authoritative meta tag
Fetching https://golang.org/x/sys?go-get=1
Parsing meta tags from https://golang.org/x/sys?go-get=1 (status code 200)
golang.org/x/sys (download)
github.com/hashicorp/hcl (download)
github.com/magiconair/properties (download)
github.com/mitchellh/mapstructure (download)
github.com/pelletier/go-toml (download)
github.com/spf13/afero (download)
Fetching https://golang.org/x/text/transform?go-get=1
Parsing meta tags from https://golang.org/x/text/transform?go-get=1 (status code 200)
get "golang.org/x/text/transform": found meta tag main.metaImport{Prefix:"golang.org/x/text", VCS:"git", RepoRoot:"https://go.googlesource.com/text"} at https://golang.org/x/text/transform?go-get=1
get "golang.org/x/text/transform": verifying non-authoritative meta tag
Fetching https://golang.org/x/text?go-get=1
Parsing meta tags from https://golang.org/x/text?go-get=1 (status code 200)
golang.org/x/text (download)
Fetching https://golang.org/x/text/unicode/norm?go-get=1
Parsing meta tags from https://golang.org/x/text/unicode/norm?go-get=1 (status code 200)
get "golang.org/x/text/unicode/norm": found meta tag main.metaImport{Prefix:"golang.org/x/text", VCS:"git", RepoRoot:"https://go.googlesource.com/text"} at https://golang.org/x/text/unicode/norm?go-get=1
get "golang.org/x/text/unicode/norm": verifying non-authoritative meta tag
github.com/spf13/cast (download)
github.com/spf13/jwalterweatherman (download)
github.com/spf13/pflag (download)
Fetching https://gopkg.in/yaml.v2?go-get=1
Parsing meta tags from https://gopkg.in/yaml.v2?go-get=1 (status code 200)
get "gopkg.in/yaml.v2": found meta tag main.metaImport{Prefix:"gopkg.in/yaml.v2", VCS:"git", RepoRoot:"https://gopkg.in/yaml.v2"} at https://gopkg.in/yaml.v2?go-get=1
gopkg.in/yaml.v2 (download)
ERROR: Service 'wat' failed to build: The command '/bin/sh -c go-wrapper download' returned a non-zero code: 1

API Endpoints

  • GET users/:user/durations
  • GET users/:user/goals
  • GET users/:user/heartbeats
  • GET users/:user/projects
  • GET users/:user/stats/:range
  • GET users/:user/summaries
  • GET users/:user/user_agents
  • POST users/:user/heartbeats
  • POST /users/current/heartbeats

(Confirmed) Project not ready for use

Just for anyone else that comes here in hopes of getting a self-hosted wakatime server. This project is only in the beginning stages and cannot be used for anything.

It still requires a lot of work in order to be a functional onsite replacement for wakatime.

Unfortunately, I cannot contribute to the project as it's in a language I do not have experience in and at this stage, I do not have time to learn.

Hopefully, someone will come across this project and add some code to it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.