https://github.com/aaronjmars/magi
Meme search engine for the real shitposters, powered by AI & Llava 13b.
https://github.com/aaronjmars/magi
ai image-classification llava memes replicate search-engine
Last synced: 6 months ago
JSON representation
Meme search engine for the real shitposters, powered by AI & Llava 13b.
- Host: GitHub
- URL: https://github.com/aaronjmars/magi
- Owner: leo5imon
- Created: 2024-01-11T16:26:06.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-18T10:46:21.000Z (about 2 years ago)
- Last Synced: 2024-12-17T09:25:51.703Z (about 1 year ago)
- Topics: ai, image-classification, llava, memes, replicate, search-engine
- Language: JavaScript
- Homepage:
- Size: 104 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Magi
### Meme search engine for the real shitposters
## Features
- Dropzone upload.
- File storage on S3.
- Automatic tagging based on a prompt & the Llava 13B model from Replicate.
- Instant search with any keyword.
- Preview the image in full width by clicking it.
## Preview



## Tech Stack
- Next.Js
- AWS S3
- Axios
- Formidable
- Replicate
- Typesense
- Dropzone
- Tailwind with shadcn/ui
## Installation
**To use Magi, follow these steps:**
```bash
git clone https://github.com/leo5imon/magi.git
npm install
```
Then, get your AWS public & private key from .
For the search engine, I'm using TypeSense but feel free to use Algolia or anything : .
Generate a Replicate API Key from .
.env example :
```bash
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
REPLICATE_API_TOKEN
TYPESENSE_API_KEY
TYPESENSE_API_SEARCH_ONLY
TYPESENSE_HOST
```
## Contribution
_Contributions are welcome!_
If you would like to contribute to Magi, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them.
- Push your changes to your forked repository.
- Submit a pull request to the main repository.