8000 GitHub - ryowk/kintai
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Aug 13, 2024. It is now read-only.

ryowk/kintai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kintai

Collect and display daily working hours

https://ryowk.github.io/kintai/

TZ: JST

Usage

  1. Fork this repository
  2. Create a slack channel
  3. Add a slack app to the channel
  4. Set the slack conversation id and the access token as repository secrets (see here)
  5. Execute workflow kintai (or create gh-pages branch from main)
  6. Set GitHub pages source as following
    • branch: gh-pages
    • folder: /docs
  7. Post texts to the channel (see here)
  8. View the published page https://owner.github.io/kintai/

Format

<sign>

posted datetime is used

<sign> <datetime>

specified datetime is used

Allowed signs

Start
  • 開始
End
  • 終了

Allowed datetime format

YYYY-MM-DDThh:mm:ss

Examples

  • 開始
  • 開始 2020-01-01T12:34:56
  • 終了
  • 終了 2020-01-01T12:34:56

Artifacts

Monthly Report

./docs/data/YYYY-MM.json

{"2020-01-01": 1.0, "2020-01-02": 2.0, "2020-01-03": 3.0}

Display

./docs/data/display.json

{
    "updated_at": "2020-01-01 00:00:00",
    "months": [
        {
            "year_month": "2020-01",
            "dates": ["2020-01-01", "2020-01-02", "2020-01-03"],
            "daily_hours": [1.0, 2.0, 3.0],
            "cumulative_hours": [1.0, 3.0, 6.0]
        }
    ]
}

Secrets

  • SLACK_TOKEN
    • access token
    • required: conversations.history
  • SLACK_CHANNEL
    • conversation id

Development

docker-compose up

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages

0