{"id":17956896,"url":"https://github.com/wangrongding/access-counter","last_synced_at":"2025-03-25T02:31:31.640Z","repository":{"id":161953478,"uuid":"636125440","full_name":"wangrongding/access-counter","owner":"wangrongding","description":"🌈 超级简单好用的 github profile 访问计数器。  使用 Vercel KV for Redis 记录浏览量。","archived":false,"fork":false,"pushed_at":"2023-09-05T17:30:39.000Z","size":1420,"stargazers_count":22,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-19T07:11:26.134Z","etag":null,"topics":["access-couter","counter","github-profile-readme","profile-views-counter","readme-profile","view-couter","views","views-couter"],"latest_commit_sha":null,"homepage":"https://access-counter.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wangrongding.png","metadata":{"files":{"readme":"README copy.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-05-04T07:18:25.000Z","updated_at":"2024-12-04T06:56:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"efe4a70c-278f-4937-9a37-b5670269b815","html_url":"https://github.com/wangrongding/access-counter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangrongding%2Faccess-counter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangrongding%2Faccess-counter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangrongding%2Faccess-counter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wangrongding%2Faccess-counter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wangrongding","download_url":"https://codeload.github.com/wangrongding/access-counter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245385485,"owners_count":20606658,"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":["access-couter","counter","github-profile-readme","profile-views-counter","readme-profile","view-couter","views","views-couter"],"created_at":"2024-10-29T10:43:38.155Z","updated_at":"2025-03-25T02:31:31.633Z","avatar_url":"https://github.com/wangrongding.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\nname: Vercel KV for Redis Next.js Starter\nslug: kv-redis-starter\ndescription: Simple Next.js template that uses Vercel KV for Redis to track pageviews.\nframework: Next.js\nuseCase: Starter\ncss: Tailwind\ndatabase: Vercel KV\ndeployUrl: https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fexamples%2Ftree%2Fmain%2Fstorage%2Fkv-redis-starter\u0026project-name=kv-redis-starter\u0026repository-name=kv-redis-starter\u0026demo-title=Vercel%20KV%20for%20Redis%20Next.js%20Starter\u0026demo-description=Simple%20Next.js%20template%20that%20uses%20Vercel%20KV%20for%20Redis%20to%20track%20pageviews.\u0026demo-url=https%3A%2F%2Fkv-redis-starter.vercel.app%2F\u0026demo-image=https%3A%2F%2Fkv-redis-starter.vercel.app%2Fopengraph-image.png\u0026stores=%5B%7B\"type\"%3A\"kv\"%7D%5D\ndemoUrl: https://kv-redis-starter.vercel.app/\nrelatedTemplates:\n  - blob-starter\n  - postgres-starter\n---\n\n# Vercel KV for Redis Next.js Starter\n\nSimple Next.js template that uses [Vercel KV for Redis](https://vercel.com/kv) to track pageviews.\n\n## Demo\n\nhttps://kv-redis-starter.vercel.app/\n\n## How to Use\n\nYou can choose from one of the following two methods to use this repository:\n\n### One-Click Deploy\n\nDeploy the example using [Vercel](https://vercel.com?utm_source=github\u0026utm_medium=readme\u0026utm_campaign=vercel-examples):\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fexamples%2Ftree%2Fmain%2Fstorage%2Fkv-redis-starter\u0026project-name=kv-redis-starter\u0026repository-name=kv-redis-starter\u0026demo-title=Vercel%20KV%20for%20Redis%20Next.js%20Starter\u0026demo-description=Simple%20Next.js%20template%20that%20uses%20Vercel%20KV%20for%20Redis%20to%20track%20pageviews.\u0026demo-url=https%3A%2F%2Fkv-redis-starter.vercel.app%2F\u0026demo-image=https%3A%2F%2Fkv-redis-starter.vercel.app%2Fopengraph-image.png\u0026stores=%5B%7B\"type\"%3A\"kv\"%7D%5D)\n\n### Clone and Deploy\n\nExecute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [pnpm](https://pnpm.io/installation) to bootstrap the example:\n\n```bash\npnpm create next-app --example https://github.com/vercel/examples/tree/main/storage/kv-redis-starter\n```\n\nOnce that's done, copy the .env.example file in this directory to .env.local (which will be ignored by Git):\n\n```bash\ncp .env.example .env.local\n```\n\nThen open `.env.local` and set the environment variables to match the ones in your Vercel Storage Dashboard.\n\nNext, run Next.js in development mode:\n\n```bash\npnpm dev\n```\n\nDeploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github\u0026utm_medium=readme\u0026utm_campaign=vercel-examples) ([Documentation](https://nextjs.org/docs/deployment)).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwangrongding%2Faccess-counter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwangrongding%2Faccess-counter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwangrongding%2Faccess-counter/lists"}