https://github.com/agmmnn/random-repo-img
🧤A simple flask app to pick and return a random image from the given github repo folder.
https://github.com/agmmnn/random-repo-img
flask flyio github-api github-repository heroku railway
Last synced: 6 months ago
JSON representation
🧤A simple flask app to pick and return a random image from the given github repo folder.
- Host: GitHub
- URL: https://github.com/agmmnn/random-repo-img
- Owner: agmmnn
- Created: 2021-09-26T22:04:23.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-02-18T22:59:58.000Z (over 2 years ago)
- Last Synced: 2025-03-18T13:43:55.449Z (7 months ago)
- Topics: flask, flyio, github-api, github-repository, heroku, railway
- Language: HTML
- Homepage: https://randomrepoimg.fly.dev
- Size: 254 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# 🧤[random-repo-img](https://randomrepoimg.fly.dev/)
A simple tool to pick and return a random image from the given github repo folder.
- url structure: `randomrepoimg.fly.dev///`
## Example Usage:
- url: [https://randomrepoimg.fly.dev/agmmnn/random-repo-img/sample_imgs](https://randomrepoimg.fly.dev/agmmnn/random-repo-img/sample_imgs)
### Preview (Refresh the page):

## Development
### Serve
```py
# using gunicorn
gunicorn --bind 127.0.0.1:5000 app:app# using waitress
waitress-serve --listen=127.0.0.1:5000 app:app
```### Deploy
```py
# using fly.ioflyctl deploy
```