• Stars
    star
    112
  • Rank 312,240 (Top 7 %)
  • Language
    JavaScript
  • Created over 6 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Update Wakatime summary data to your gist every day

wakatime-sync

Update Wakatime summary data to your gist every day


If you only need notify wakatime daily report, you can check out wakatime-notify

Setup

Prep work

  1. Create a new public GitHub Gist (https://gist.github.com/)
  2. Create a token with the gist scope and copy it. (https://github.com/settings/tokens/new)
  3. Create a WakaTime account (https://wakatime.com/signup)
  4. In your account settings, copy the existing WakaTime API Key (https://wakatime.com/settings/account)

Project setup

  1. Fork this repo
  2. Go to the repo Settings > Secrets
  3. Add the following environment variables:
    • GH_TOKEN: The GitHub token generated above.
    • WAKATIME_API_KEY: The API key for your WakaTime account.
    • GIST_ID: The ID portion from your gist url: https://gist.github.com/superman66/75f3b2ec23c7f69594ca3d9e8b7ea81d..
  4. Run workflow manually. Because workflows aren’t being run on forked repository.

Push Daily Report to Wechat

if you are using Wechat, you can use ServerChan(http://sc.ftqq.com/) to push wakatime daily report to your Wechat.

Settting

  1. Create a ServerChan account (https://sct.ftqq.com/)
  2. Copy SCKEY (https://sct.ftqq.com/sendkey)
  3. Bind your micromessage in ServerChan
  4. Add SCKEY to repo Secrets: SCU_KEY

after that, you will receive Wakatime daily report everyday.

Warning

In addition to a specific file's contents being truncated, the entire files list may be truncated if the total number exceeds 300 files. If the top level truncated key is true, only the first 300 files have been returned in the files list. If you need to fetch all of the gist's files, you'll need to clone the gist via the URL provided by git_pull_url.

Gist Truncation

More Usage

you can send the daily report to you email, telegram, Slack or other IM. If you are interest in it, take a issue or PR.

How can I use this data

You can use this data in Wakatime Dashboard(http://wakatime.chenhuichao.com).

You input the Gist ID, then you can see the report.

More Repositories

1

vue-axios-github

Vue 全家桶 + axios 前端实现登录拦截、登出、拦截器等功能
JavaScript
2,683
star
2

vue2.x-douban

Vue2.0实现简易豆瓣电影webApp
JavaScript
797
star
3

vue-qart

the compoent of vue 2.x for qart.js
JavaScript
293
star
4

react-test-demo

React test demo with Jest and Enzyme
JavaScript
148
star
5

vue-highcharts

The Component of Vue 2.x for highcharts
JavaScript
115
star
6

koa-jwt-sample

koa jwt login sample
JavaScript
78
star
7

wakatime-dashboard

Wakatime Dashboard gets data from Gist
JavaScript
48
star
8

react-douban

豆瓣电影-react版本
JavaScript
44
star
9

front-end-blog

前端博客收集
27
star
10

mac

高效、好玩、有趣的 Mac 软件推荐
23
star
11

koa-blog-api

Blog API build on koa2 + node.js
JavaScript
17
star
12

node-proxy-api

The simple node proxy api
JavaScript
16
star
13

sony-apps

sony 微单 apps
7
star
14

gatsby-starter-notion

Usging Notion + Gatsby + Netlify build your blog efficiently.
JavaScript
6
star
15

docker-demo

docker learning code
JavaScript
5
star
16

vue-nuxt-demo

Nuxt.js demo for vue-highcharts
Vue
4
star
17

eysenck-questionnaires

艾森克人格问卷、艾森克情绪稳定评测表
TypeScript
3
star
18

img2base64

图片在线转换 base64
HTML
2
star
19

notion-deploy-to-netlify

Deploy notion blog to netlify script of Tampermonkey
JavaScript
2
star
20

node-express-todo

基于node+nodejs+mongodb+angular的一个todo sample
JavaScript
2
star
21

angular-markdown

基于localStorage和AngularJS的markdown笔记本
JavaScript
2
star
22

logseq-plugin-url-md

Convert URL to Markdown links logseq plugin
TypeScript
2
star
23

docker-slides

CSS
2
star
24

angular-clipboard

angular-clipboard using clipboard.js that without using flash
JavaScript
2
star
25

tampermonkey-scripts

tampermonkey scripts
JavaScript
1
star
26

grid-trading-book

E大网格交易小账本
TypeScript
1
star
27

logseq-plugin-share-block

Share block with image
TypeScript
1
star
28

get-urls-md

TypeScript
1
star
29

react-mobx-todo

Todo Sample of React + MobX
JavaScript
1
star
30

logseq-plugin-date-picker

TypeScript
1
star
31

ffmpeg-gui

ffmpeg GUI build on Electron
1
star
32

css-modules-demo

CSS Module demo 学习
JavaScript
1
star
33

wakatime-notify

Sending wakatime daily report to Telegram, WeCom
JavaScript
1
star
34

js-design-pattern

js-design-pattern
JavaScript
1
star
35

mobX-stopWatch

MobX + React StopWatch demo
JavaScript
1
star
36

react-redux-todo

This is the complete source code of the tiny todo app
JavaScript
1
star