https://github.com/gitbolt/repository_sort
🗃️ Python script to filter between Solana, Multichain and Private Github repositories
https://github.com/gitbolt/repository_sort
github-api script solana
Last synced: 5 months ago
JSON representation
🗃️ Python script to filter between Solana, Multichain and Private Github repositories
- Host: GitHub
- URL: https://github.com/gitbolt/repository_sort
- Owner: GitBolt
- Created: 2023-01-02T16:10:14.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-01-18T11:04:44.000Z (about 2 years ago)
- Last Synced: 2025-04-05T04:29:28.072Z (10 months ago)
- Topics: github-api, script, solana
- Language: Python
- Homepage:
- Size: 1.71 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Solana Repo Sorter
This repository contains a Python script that can be used to sort repositories based on whether they are Solana based, Multichain, None of these or Private.
It was created as a part of research for [Electric Capital Developer Report 2022](https://developerreport.com) and is currently being used for Solana Foundation's Monthly Developer Reports
## Running the Script
To run the script, follow these steps:
1. Install the required packages by running `pip install -r requirements.txt`.
2. Get the entire repositories CSV with repo URLs and name it `input.csv`.
3. Run `get_repo_urls.py` to generate a new `repos.csv` file. This new file will only contain the repo's URLs, and it will remove any other data from the original `input.csv`.
4. Obtain a GitHub personal token and a Google service account credential JSON file. Name the JSON file `cred.json`.
5. Add the GitHub personal token to the `.env` file.
6. Open `main.py` and modify the parameter variables as needed for your research.
7. Finally, run `main.py`.
That's it! The script will sort the repositories according to the parameters you set, and the results will be saved to a new CSV file named `output.csv`.