{"id":13479229,"url":"https://github.com/maxam2017/productive-box","last_synced_at":"2025-05-13T23:05:58.191Z","repository":{"id":37402276,"uuid":"256051722","full_name":"maxam2017/productive-box","owner":"maxam2017","description":"Are you an early 🐤 or a night 🦉? Let's check out in gist","archived":false,"fork":false,"pushed_at":"2024-08-14T15:10:26.000Z","size":541,"stargazers_count":514,"open_issues_count":4,"forks_count":7317,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-08T21:18:19.578Z","etag":null,"topics":["awesome-pinned-gists","pinned-gist"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxam2017.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-15T22:32:58.000Z","updated_at":"2025-04-06T15:07:47.000Z","dependencies_parsed_at":"2023-01-04T18:31:05.293Z","dependency_job_id":"2a98433d-6438-46b9-86ad-b85e366cdae7","html_url":"https://github.com/maxam2017/productive-box","commit_stats":{"total_commits":63,"total_committers":9,"mean_commits":7.0,"dds":0.6190476190476191,"last_synced_commit":"f39896b59db80a3f17411987c9f7b109ff7a2a76"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxam2017%2Fproductive-box","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxam2017%2Fproductive-box/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxam2017%2Fproductive-box/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxam2017%2Fproductive-box/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxam2017","download_url":"https://codeload.github.com/maxam2017/productive-box/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254040736,"owners_count":22004601,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["awesome-pinned-gists","pinned-gist"],"created_at":"2024-07-31T16:02:11.844Z","updated_at":"2025-05-13T23:05:53.181Z","avatar_url":"https://github.com/maxam2017.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","GitHub Stats","others","GitHub"],"sub_categories":["Dynamic Badges"],"readme":"\u003e [!CAUTION]\n\u003e If you upgrade to v1.1.5+, please remember to:\n\u003e\n\u003e 1. move the **GIST ID** to the Secret\n\u003e 2. move the **TIMEZONE** to the Repository variable\n\u003e    For details, refer to the third point in [Project Setup](https://github.com/maxam2017/productive-box/tree/master?tab=readme-ov-file#project-setup).\n\u003e\n\u003e p.s. when you see this notice in the README of your forked repository, it means you have upgraded to v1.1.5\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"http://lovera.maxam.now.sh/\"\u003e\n    \u003cimg src=\"https://user-images.githubusercontent.com/25841814/79395484-5081ae80-7fac-11ea-9e27-ac91472e31dd.png\" alt=\"screenshot\" width=\"500\"\u003e\n  \u003c/a\u003e\n  \u003ch3 align=\"center\"\u003e📌✨productive-box\u003c/h3\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n   \u003cimg src=\"https://img.shields.io/badge/language-typescript-blue?style\"/\u003e\n   \u003cimg src=\"https://img.shields.io/github/license/maxam2017/productive-box\"/\u003e\n   \u003cimg src=\"https://img.shields.io/github/stars/maxam2017/productive-box\"/\u003e\n   \u003cimg src=\"https://img.shields.io/github/forks/maxam2017/productive-box\"/\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n   Are you an early 🐤 or a night 🦉?\n   \u003cbr/\u003e\n   When are you most productive during the day?\n   \u003cbr/\u003e\n   Let's check out in gist!\n\u003c/p\u003e\n\n---\n\n\u003e This project is inspired by an awesome pinned-gist project.\u003cbr/\u003e\n\u003e Find more in https://github.com/matchai/awesome-pinned-gists\n\n## Overview\n\nThis project uses GitHub graphQL API to get the commit histories and write into the gist by [rest.js](https://github.com/octokit/rest.js#readme)\n\n## Setup\n\n### Prep work\n\n1. Create a new public GitHub Gist (https://gist.github.com/)\n1. Create a token with the `gist` and `repo` scope and copy it. (https://github.com/settings/tokens/new)\n   \u003e enable `repo` scope seems **DANGEROUS**\u003cbr/\u003e\n   \u003e but this GitHub Action only accesses your commit timestamp in the repositories you contributed.\n\n### Project setup\n\n1. Fork this repo\n1. Open the \"Actions\" tab of your fork and click the \"enable\" button\n1. Go to the repo **Settings \u003e Secrets and variables** \u003e **Actions**,\n   add the following secrets / variables:\n   | Type | Name | Description |\n   |---------------------------------|--------------------|---------------------------------------------------------------|\n   | Repository Secrets | **GH_TOKEN** | The GitHub token generated above. |\n   | Repository Secrets | **GIST_ID** | The ID portion from your gist URL, e.g., `9842e074b8ee46aef76fd0d493bae0ed`. |\n   | Repository Variable | **TIMEZONE** | The timezone of your location, e.g., `Asia/Taipei` for Taiwan, `America/New_York` for America in New York, etc. |\n\n   Below is the final screenshot: (Click the image for a clearer view.)\n\n   |Repository Secret|Repository Variable|\n   |:-:|:-:|\n   |\u003cimg width=\"500\" alt=\"\" src=\"https://github.com/maxam2017/productive-box/assets/25841814/53a1ddfa-17f3-40c0-b8db-afd674d616e6\"\u003e|\u003cimg width=\"500\" src=\"https://github.com/maxam2017/productive-box/assets/25841814/836f8374-ae13-4617-9e18-62ed3eb8e179\"\u003e|\n1. Manually run the workflow for the first time or wait for the scheduled run. (The workflow will run every day at 00:00 UTC.)\n1. [Pin the newly created Gist](https://help.github.com/en/github/setting-up-and-managing-your-github-profile/pinning-items-to-your-profile)\n\n### How to run the workflow manually\n1. Go to the \"Actions\" tab on your fork\n1. Select the \"Update gist\" workflow\n1. Click the \"Run workflow\" button\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxam2017%2Fproductive-box","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxam2017%2Fproductive-box","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxam2017%2Fproductive-box/lists"}