{"id":15764118,"url":"https://github.com/devjiwonchoi/vercel-cron-github-streak-freezer","last_synced_at":"2025-08-28T22:31:53.958Z","repository":{"id":224814102,"uuid":"764249221","full_name":"devjiwonchoi/vercel-cron-github-streak-freezer","owner":"devjiwonchoi","description":"Vercel Cron Job to monitor and preserve the GitHub activity streak.","archived":false,"fork":false,"pushed_at":"2024-03-11T14:06:34.000Z","size":50,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-11T12:04:02.138Z","etag":null,"topics":["api","commit","cron","daily","github","monitor","readme","serverless","stats","vercel"],"latest_commit_sha":null,"homepage":"https://streak-freezer.vercel.app","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/devjiwonchoi.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":"2024-02-27T18:40:10.000Z","updated_at":"2024-09-27T00:38:39.000Z","dependencies_parsed_at":"2024-10-25T11:35:08.276Z","dependency_job_id":"1e72456a-9ea6-47c0-ab3c-4b26695f601e","html_url":"https://github.com/devjiwonchoi/vercel-cron-github-streak-freezer","commit_stats":{"total_commits":16,"total_committers":1,"mean_commits":16.0,"dds":0.0,"last_synced_commit":"2ec939439815422e683608f736671d02eb2a6a14"},"previous_names":["devjiwonchoi/vercel-cron-reminder","devjiwonchoi/vercel-cron-github-streak-freezer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devjiwonchoi%2Fvercel-cron-github-streak-freezer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devjiwonchoi%2Fvercel-cron-github-streak-freezer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devjiwonchoi%2Fvercel-cron-github-streak-freezer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devjiwonchoi%2Fvercel-cron-github-streak-freezer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devjiwonchoi","download_url":"https://codeload.github.com/devjiwonchoi/vercel-cron-github-streak-freezer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231303094,"owners_count":18355447,"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":["api","commit","cron","daily","github","monitor","readme","serverless","stats","vercel"],"created_at":"2024-10-04T12:01:21.342Z","updated_at":"2024-12-26T02:54:58.315Z","avatar_url":"https://github.com/devjiwonchoi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vercel Cron - GitHub Streak Freezer\n\n\u003e Vercel Cron Job to freeze :ice_cube: your GitHub streak :fire:\n\n## What is this?\n\nThis is a [Vercel Cron Job](https://vercel.com/docs/cron-jobs) that periodically monitors your GitHub activity and preserves your streak by creating a commit to your [special repository](https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-github-profile/customizing-your-profile/managing-your-profile-readme).\n\nCreate one if you don't have one yet.\n![Jiwon Choi's GitHub Activities](https://github.com/devjiwonchoi/vercel-cron-github-streak-freezer/assets/120007119/56e1ff79-14b1-426a-83e7-39bc3088f122)\n\n\u003e Example of GitHub Activities\n\nThe Cron Job will create a `github-streak-freezer.md` file to your special repository.\n\n## How to Deploy\n\nClick the button below to deploy this repository to Vercel, and fill in the [Environment Variables](#environment-variables).\n\n[![Deploy on Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/devjiwonchoi/vercel-cron-github-streak-freezer\u0026env=CRON_SECRET,GITHUB_ACCESS_TOKEN,GITHUB_USERNAME)\n\n### Environment Variables\n\n- `CRON_SECRET`: [Secret key to secure your cron job invocations](https://vercel.com/docs/cron-jobs/manage-cron-jobs#securing-cron-jobs)\n- `GITHUB_ACCESS_TOKEN`: Your [GitHub Access Token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-fine-grained-personal-access-token)\n- `GITHUB_USERNAME`: Your GitHub username\n\n### Cron Job Schedule (UTC)\n\nYou can modify the cron job schedule in [`vercel.json`](./vercel.json) through the [cron expressions](https://vercel.com/docs/cron-jobs#cron-expressions):\n\n```json\n{\n  \"crons\": [\n    {\n      \"path\": \"/api/streak-freezer\",\n      \"schedule\": \"0 0 * * *\"\n    }\n  ]\n}\n```\n\n\u003e This cron job is scheduled to run every day at midnight (UTC).\n\nWe recommend you to use [crontab guru](https://crontab.guru) to generate your cron expressions. This project is set to Korean Standard Time (UTC+9) 23:30.\n\n## Local Development\n\n1. Clone this repository.\n2. Install dependencies with `pnpm i`.\n3. Run [`pnpm vercel dev`](https://vercel.com/docs/cli) to start the development server.\n\n## Troubleshooting\n\n- You can view the status of the cron job in the [Vercel Dashboard](https://vercel.com/devjiwonchoi/vercel-cron-github-streak-freezer/settings/cron-jobs) \u003e Project Settings \u003e Cron Jobs.\n- You can view the logs of the cron job in the [Vercel Runtime Logs](https://vercel.com/docs/observability/runtime-logs).\n\n### Status Codes\n\n\u003e We do not override the default error codes of Vercel.\n\u003e See [Vercel Error Codes](https://vercel.com/docs/errors) for more information.\n\n- `200`: The cron job found an activity for today, did not creat a commit.\n- `201`: The cron job successfully created a commit.\n- `401`: The request was not authorized to run the cron job.\n- `403`: The environment variable `GITHUB_USERNAME` was not provided.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevjiwonchoi%2Fvercel-cron-github-streak-freezer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevjiwonchoi%2Fvercel-cron-github-streak-freezer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevjiwonchoi%2Fvercel-cron-github-streak-freezer/lists"}