https://github.com/rl404/image-randomizer
Just a simple website to generate random image from your chosen image list.
https://github.com/rl404/image-randomizer
generator golang image material-ui random randomizer react
Last synced: 2 months ago
JSON representation
Just a simple website to generate random image from your chosen image list.
- Host: GitHub
- URL: https://github.com/rl404/image-randomizer
- Owner: rl404
- License: mit
- Created: 2020-09-19T07:05:09.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-12-12T05:42:56.000Z (3 months ago)
- Last Synced: 2025-12-13T14:29:16.286Z (3 months ago)
- Topics: generator, golang, image, material-ui, random, randomizer, react
- Language: Go
- Homepage: https://randomizer.rl404.com
- Size: 24 MB
- Stars: 4
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Image-Randomizer
Just a simple website to generate random image from your chosen image list.
Can be used for randoming website background image by calling your url in CSS. Or randoming your forum's signature.
Inspired by [sig.grumpybumpers](http://sig.grumpybumpers.com/).
## Development
### Requirement
- [Go](https://golang.org/)
- [NodeJS](https://nodejs.org)
- [PostgreSQL](https://www.postgresql.org/)
- [Docker](https://docker.com) + [Docker compose](https://docs.docker.com/compose/) (optional)
### Step
1. Git clone this repo.
```
git clone https://github.com/rl404/image-randomizer
```
2. Rename `backend/.env.sample` to `.env` and modify according to your configuration.
3. Rename `frontend/.env.sample` to `.env` and modify according to your configuration.
4. Start the backend service. (Assumed the database is ready to use).
```
cd backend
make
```
5. Open new console/terminal and start the frontend service.
```
cd frontend
npm run dev
```
6. [http://localhost:31001](http://localhost:31001) and [http://localhost:31002](http://localhost:31002) are ready to use\*.
\*_Port depends on `port` in their `.env` file._
### With Docker + Docker compose
1. Do step 1-3 above.
2. Build and start docker containers.
```
docker-compose up
```
## License
MIT License
Copyright (c) 2022 Axel