yanggggjie / rising-repo

Home Page:https://yanggggjie.github.io/rising-repo/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

a table to display recently popular repos

image

build your own local

Add a local .env file

for GOOGLE_SERVICE_KEY steps:

  • goto google cloud
  • add a new project
  • in the project
    • goto IAM Admin
    • create a new service account (make sure it is owner, in the second step)
    • at the service account line, click action goto manage keys
      • add new key
      • download the json file
      • copy all of the json content and encode to base64
      • copy all of the base64 content to env file
      • GOOGLE_SERVICE_KEY="the base64 content"
  1. need a secret key file of Google Cloud's service account

  2. the service account is the owner of the project

  3. convert the file to base64 and copy to GOOGLE_SERVICE_KEY="the base64 content"

for MY_GITHUB_TOKEN

goto https://github.com/settings/tokens -> classic -> Generate new token

the .env file

image

pnpm install

pnpm run dev

http://localhost:3000/rising-repo

deploy your own

Enable GitHub Pages

image

Add Secret

image

To deploy

image

Deploy result

image

roadmap

  • v1.1

    • refactor UI 🚧
    • improve performance 🚧🚧
  • v1.0

    • move to SSG, use next static export and github actions build for every day πŸš€βœ…
    • add build your own guide βœ…
  • v0.15

    • refactor server actions βœ…
    • add lastUpdateTime βœ…
  • v0.14.1

    • add tag filter βœ…
  • v0.14 add topics

    • For a period of time, we may focus on a specific topic, such as tailwindcss, state management or form. It is necessary to add topics for filtering βœ…
  • v0.13 big query βœ…

    • Migrate to google big query βœ…
    • Update data at shorter intervals πŸ—“οΈ
    • More data is available, adding more key information πŸ—“οΈ
  • v0.12 optimize

    • Switching filters is slow βœ…
    • Add animation, scrolling, hovering and more 🚧
  • v0.12 add create time column and filter

    • Most of the repos in this rank are very old and they are already well known. Therefore, it is necessary to add the create time column to discover the rising new stars βœ…

    • Add age column can filter by year month and day πŸŽ‚

  • v0.11.1 optimize βœ…

    • add a better-looking loader βœ…
    • when language filter change scroll to top βœ…
    • open links in a new tab βœ…
  • v0.11 use virtual table βŒ›οΈ

    • The table with 1000 rows will be very slow. Use virtual lists to improve performance βŒ›οΈ(Is it really necessary?)
  • v0.10 add language json cache βœ…

    • Because the repo rank list api does not contain language information. A language-specific rank list cannot be generated βœ…
    • πŸ’‘Query the repo rank list for language information and cache it. Rank lists for specific languages can be generated βœ…
    • use redis for cache, Now you can see the top 1000 at once without the annoying load more 🀯
  • v0.9 Optimize performance βœ…

    • Shorten the first screen loading time
      • move vercel deploy region to HongKong βœ…
      • add pagination to reduce home page data requests βœ…
    • Shorten the time of switching date button and add loader
      • add loader βœ…
    • vercel Real Experience Score increased from 53 to 79 πŸš€

About

https://yanggggjie.github.io/rising-repo/

License:MIT License


Languages

Language:TypeScript 95.5%Language:CSS 3.6%Language:JavaScript 0.9%