A modern web application for managing your home inventory with an intuitive interface that works in both light and dark modes. Keep track of your items, their locations, and quantities with ease.
VERY EARLY VERSION
- 🌓 Dark/Light mode with system-wide persistence
- 🔍 Real-time search functionality
- 📸 Image upload support
- 📍 Location tracking
- 📊 Quantity management
- ✏️ Edit and update items
- 💾 Automatic SQLite database setup
- 📱 Responsive design
- 🔒 CSRF protection
- Clone the repository:
git clone https://github.com/yourusername/home-inventory.git
cd home-inventory
- Set up Python environment:
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
- Run the application:
python app.py
- Open http://localhost:5000 in your browser
- Build the Docker image:
docker build -t inventory-manager .
- Run the container:
docker run -p 5000:5000 inventory-app
- Backend: Flask + SQLAlchemy
- Frontend: Bootstrap 4 + JavaScript
- Database: SQLite
- Security: Flask-WTF
- Add items with images, descriptions, and locations
- Track quantities
- Edit existing items
- Upload item images
- Real-time search across all items
- Search by title, description, or location
- Instant results display
- Switch between light and dark modes
- Theme persistence across sessions
- Smooth transition animations
- Automatic image resizing to 800px max height
- WebP conversion for optimal file size
- PNG transparency handling
- Maintains aspect ratio
- High-quality Lanczos resampling
- Images are automatically processed on upload:
- Converted to WebP format
- Resized to max height of 800px
- Aspect ratio preserved
- PNG transparency handled
- Quality set to 85%
- WebP compression method 6 (best quality)
Supported image formats:
- PNG (with transparency support)
- JPG/JPEG
- GIF
Flask==2.0.1
Flask-SQLAlchemy==2.5.1
Flask-WTF==1.0.0
Pillow==10.1.0
Werkzeug==2.0.1
SQLAlchemy==1.4.23
Default settings in
config.py
:
ALLOWED_EXTENSIONS = {'png', 'jpg', 'jpeg', 'gif'}
SQLALCHEMY_DATABASE_URI = 'sqlite:///inventory.db'
Flask==2.0.1
Flask-SQLAlchemy==2.5.1
Flask-WTF==1.0.0
Pillow==10.1.0
Werkzeug==2.0.1
SQLAlchemy==1.4.23
MIT License
Made with ❤️ by daMustermann