Just a funny API with elysiajs because bun is cool and I had this idea a while ago for fun π
- Endpoints for a funny video, picture, or a roulette between the 2
- Freedom to choose whether you want a JSON or HTML formatted response
- Multi-meme requests for a single endpoint
- Singe page website with docs & live demo (mobile support included)
- Anti meme repetition when using the multi-meme request endpoint
- Self hostable with included Dockerfiles & docker-compose yaml
- Plenty of funny videos & pictures (depending on your humor I guess)
You can visit the website for this repo with a demo here
Below are also the Available API URI's you can use to try my API yourself. Have Fun!
You can deploy this application on your own server using Docker. Follow the instructions below to set up and run the application using Docker and Docker Compose.
Ensure you have the following installed on your server:
-
Clone the Repository
git clone https://github.com/ZachLTech/RandomMemeRestAPI.git cd RandomMemeRestAPI
-
Build the Docker Images
docker-compose build
-
Run the Containers
docker-compose up -d
docker-compose down
- If you need to customize the configuration, you can modify the
docker-compose.yml
file and the respectiveDockerfiles
according to your requirements. - Default ports are 9787 for the frontend and 9786 for the backend
Setup semi-public file sharing system for meme sourceGather, convert, and rename all memesupload all media to DB of memessecure DB with service restrictionsSetup and write endpoints / API codeIntegrate docker and deploy API (with working domain & endpoints)Start on frontendShorten endpoints (already done in readme)Add multi-meme requests to API for frontendAdd meme grid button to randomizeFinish Frontend(BE) Implement recursive function so /x/json/y endpoint doesn't return repeated memes(FE) Add mobile support- Done π