{"id":24674095,"url":"https://github.com/jabolol/brownie","last_synced_at":"2025-10-08T08:31:36.703Z","repository":{"id":212323720,"uuid":"731227191","full_name":"Jabolol/brownie","owner":"Jabolol","description":"Add support for Google Analytics in your GitHub readme","archived":false,"fork":false,"pushed_at":"2024-01-10T11:05:14.000Z","size":132,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-01-10T12:29:16.873Z","etag":null,"topics":["deno","fp-ts","github"],"latest_commit_sha":null,"homepage":"https://brownie.deno.dev/","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/Jabolol.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}},"created_at":"2023-12-13T16:00:27.000Z","updated_at":"2024-01-09T09:33:12.000Z","dependencies_parsed_at":"2024-01-10T12:37:49.568Z","dependency_job_id":null,"html_url":"https://github.com/Jabolol/brownie","commit_stats":null,"previous_names":["jabolol/brownie"],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jabolol%2Fbrownie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jabolol%2Fbrownie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jabolol%2Fbrownie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jabolol%2Fbrownie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jabolol","download_url":"https://codeload.github.com/Jabolol/brownie/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235694136,"owners_count":19030772,"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":["deno","fp-ts","github"],"created_at":"2025-01-26T11:15:04.680Z","updated_at":"2025-10-08T08:31:31.372Z","avatar_url":"https://github.com/Jabolol.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg align=\"right\" src=\"./assets/brownie.png\" height=\"150px\" alt=\"a kawaii brownie\" /\u003e\n\n# brownie\n\nAdd support for **Google Analytics** to your GitHub readme and cache your images\nfor a faster loading experience! Built using [`deno`](https://deno.land) and\n[`fp-ts`](https://github.com/gcanti/fp-ts).\n\n## getting started\n\n1. Install deno if you haven't already:\n\n```sh\ncurl -fsSL https://deno.land/x/install/install.sh | sh\n```\n\n2. Clone the repo:\n\n```sh\ngit clone git@github.com:Jabolol/brownie.git .\n```\n\n3. Fill in the [`.env`](./.env.example) file:\n\n```sh\ncp .env.example .env \u0026\u0026 vim .env\n```\n\n4. Edit the [`config.ts`](./config.ts) file to add your images and the cron\n   schedule to cache the images:\n\n```ts\nexport const config: RouteConfig = {\n  routes: {\n    cocoa: \"https://my-stats.dev/contribs\",\n    vanilla: \"https://my-stats.dev/issues\",\n  },\n  schedule: \"*/20 * * * *\",\n};\n```\n\n5. This will make the endpoints `/cocoa` and `/vanilla` available and cache the\n   images every `20` minutes. You can add as many routes as you want!\n\n\u003e [!NOTE]\n\u003e It is common practice to make your routes ingredients of your brownie!\n\n6. Deploy to [Deno Deploy](https://deno.com/deploy) and fill in the environment\n   variables\n\n7. Add your freshly baked images to your readme\n\n```\nhttps://[your-deployed-url].deno.dev/cocoa\n```\n\n8. The visits will be tracked in your Google Analytics dashboard!\n\n## contributing\n\nContributions are welcome! Feel free to open an issue or submit a pull request.\nPlease run the following commands and ensure that there are no errors:\n\n```sh\ndeno fmt \u0026\u0026 deno lint\n```\n\n## license\n\nThis project is licensed under the [MIT license](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjabolol%2Fbrownie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjabolol%2Fbrownie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjabolol%2Fbrownie/lists"}