Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yanggggjie/rising-repo
https://github.com/yanggggjie/rising-repo
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/yanggggjie/rising-repo
- Owner: yanggggjie
- License: mit
- Created: 2023-12-27T14:23:43.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-10-18T15:07:49.000Z (25 days ago)
- Last Synced: 2024-11-05T04:34:11.032Z (7 days ago)
- Language: TypeScript
- Homepage: https://yanggggjie.github.io/rising-repo/
- Size: 2.07 MB
- Stars: 193
- Watchers: 2
- Forks: 18
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### a table to display recently popular repos
![image](https://github.com/yanggggjie/rising-repo/blob/main/example/example.png)
### roadmap
- **v2.0**
- add daily summary by chatgpt- v1.1
- refactor UI β
- improve performance π§
- improve data source stability π§π§- **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 π### build your own local
Add a local .env filefor 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](https://github.com/yanggggjie/rising-repo/blob/main/example/env-setting.png)
pnpm install
pnpm run dev
http://localhost:3000/rising-repo
### deploy your own
Enable GitHub Pages
![image](https://github.com/yanggggjie/rising-repo/blob/main/example/pages-setting.png)
Add Secret
![image](https://github.com/yanggggjie/rising-repo/blob/main/example/secret-setting.png)
To deploy
![image](https://github.com/yanggggjie/rising-repo/blob/main/example/to-deploy.png)
Deploy result
![image](https://github.com/yanggggjie/rising-repo/blob/main/example/deploy-result.png)