Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codedotjs/starexports
:key: Flask-based tool to scrape and export anyone's starred repositories as JSON or CSV.
https://github.com/codedotjs/starexports
csv exporter flask github json python scrap
Last synced: about 1 month ago
JSON representation
:key: Flask-based tool to scrape and export anyone's starred repositories as JSON or CSV.
- Host: GitHub
- URL: https://github.com/codedotjs/starexports
- Owner: CodeDotJS
- License: mit
- Created: 2024-03-30T22:35:10.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-04-06T07:12:56.000Z (10 months ago)
- Last Synced: 2024-04-07T04:20:55.117Z (10 months ago)
- Topics: csv, exporter, flask, github, json, python, scrap
- Language: JavaScript
- Homepage: https://starexports.onrender.com/
- Size: 96.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
GitHub Starred Repositories Exporter
# Overview
A web application that allows users to export their (or anyone else's) starred repositories from GitHub in JSON or CSV format. I initially built this tool to create a backup of my starred repositories so that I could unstar repositories without worrying about losing something important.
A live demo of the application is available __[here](https://starexports.onrender.com/)__. To get started with, simply enter your GitHub username (or any other user's) and hit enter. Once the data is fetched, you can download it as a JSON or CSV file.
__NOTE__
After building and testing *StarExports* locally, I deployed it on Vercel, but I kept getting a `504` [error](https://vercel.com/guides/what-can-i-do-about-vercel-serverless-functions-timing-out) for users who have over ~800 starred repositories. I thought if I streamed the data, I wouldn't run into this issue, but then found out that the Python runtime does [not support](https://github.com/orgs/vercel/discussions/2756#discussioncomment-6104176) streaming responses on Vercel. Out of laziness, I deployed it on Render, where it works fine except for the instance spinning down due to inactivity.
- __[Check on Vercel](https://starexports.vercel.app)__ - *Fast, but breaks when it has to pull a good chunk of repositories.*
- __[Check on Render](https://starexports.onrender.com)__ - *Completely functional but can take some time to load.*# Installation
- Clone and navigate:
```sh
git clone https://github.com/CodeDotJS/starexports.git
cd starexports
```- Install the required packages:
```sh
pip install -r requirements.txt
```- Run the application
```sh
python main.py
```# Contributing
Contributions are welcome! If you find any bugs or have suggestions for improvements, please feel free to submit a pull request or open an issue.# License
This project is licensed under the MIT License.