A simple local web app for storing and searching memes, built for classroom use.
This project was created using GitHub Copilot.
- Add memes with:
- Image upload
- Title
- Comma-separated tags
- Store meme metadata in a SQLite database using SQLAlchemy
- Search memes by tags (OR logic: matches any searched tag)
- Browse memes in a simple card layout
- Delete memes
- Python
- Flask
- Flask-SQLAlchemy
- SQLite
- Bootstrap 5 (CDN)
flask_meme/
├── app.py
├── extensions.py
├── models.py
├── routes.py
├── requirements.txt
├── templates/
│ ├── add.html
│ ├── base.html
│ └── index.html
└── static/
└── uploads/
- Python 3.10+ (recommended)
- pip
- Clone the repository.
- Open the project folder.
- Install dependencies:
pip install -r requirements.txtStart the development server:
python app.pyThen open:
http://127.0.0.1:5000
- Go to
/add. - Upload an image and enter a title.
- Add tags as comma-separated text (example:
funny, cats, school). - Save the meme.
- Use the search box on the home page to filter by tags.
- This app is intended for local classroom use only.
- No authentication is included.
- Uploaded files are saved in
static/uploads/. - The SQLite database file is created automatically on first run.