Skip to content
This repository has been archived by the owner on May 31, 2020. It is now read-only.

waka time server #3

Open
1 of 4 tasks
at15 opened this issue Dec 10, 2016 · 6 comments
Open
1 of 4 tasks

waka time server #3

at15 opened this issue Dec 10, 2016 · 6 comments

Comments

@at15
Copy link
Owner

at15 commented Dec 10, 2016

related dyweb/mos#7

Plan to use

  • InfluxDB

TODO:

[settings]
debug = false
api_key = your-api-key
hidefilenames = false
exclude =
    ^COMMIT_EDITMSG$
    ^TAG_EDITMSG$
    ^/var/
    ^/etc/
include =
    .*
offline = true
proxy = https://user:pass@localhost:8080
timeout = 30
hostname = machinename
[projectmap]
    projects/foo = new project name
    ^/home/user/projects/bar(\d+)/ = project{0}
@at15
Copy link
Owner Author

at15 commented Dec 11, 2016

the proxy should be a https proxy instead of a http proxy,

--proxy PROXY         optional proxy configuration. Supports HTTPS and SOCKS
                        proxies. For example: https://user:pass@host:port or
                        socks5://user:pass@host:port

@at15
Copy link
Owner Author

at15 commented Dec 11, 2016

note, proxy.OnRequest does not work for me

@at15
Copy link
Owner Author

at15 commented Dec 11, 2016

e... it seems to by impossible to get the data as a https proxy 0.0 .... /w\

@at15
Copy link
Owner Author

at15 commented Jan 2, 2017

well, an easier way would be change the hosts file, thus all the traffic is redirected to self hosted server, though it may break wakatime web page, also using a self issued certificate may also cause problem?

@at15
Copy link
Owner Author

at15 commented Jan 17, 2017

It is possible to hack https traffic, i.e. http://docs.mitmproxy.org/en/latest/certinstall.html

@at15
Copy link
Owner Author

at15 commented Apr 20, 2018

or I can simply change the host and proxy the non api requests ....

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant