decelerated pixelart on the web - now in color! https://pixeleb.be
  • Python 65.4%
  • HTML 32.1%
  • CSS 1.5%
  • Mako 0.6%
  • JavaScript 0.4%
Find a file
2025-12-27 11:47:10 +01:00
migrations Add submit methods and event submit options to model 2025-06-04 21:02:17 +02:00
static Add 88x31 to footer 2025-11-18 22:50:13 +01:00
temp Cache images 2025-05-02 00:40:30 +02:00
templates Add assembly submit method 2025-12-27 11:47:10 +01:00
.gitignore Cache images 2025-05-02 00:40:30 +02:00
admin_view.py Merge pull request #20 from pixelebbe/indep-source-stat 2025-06-20 18:45:46 +02:00
api_view.py set empty, not none if no source is set via API 2025-06-15 12:36:58 +02:00
app.py Add setup script 2025-04-30 00:29:45 +02:00
config.py.example *sighs* D: 2025-05-27 17:37:53 +02:00
database.py Implement editing submit methods 2025-06-04 23:31:39 +02:00
event_view.py Respect order even within one method 2025-06-04 23:49:46 +02:00
image_helper.py Fix amend_image to respect coord pixel factor 2025-12-23 22:12:25 +01:00
install.md add manual for prod install steps. 2025-05-04 23:53:16 +02:00
LICENSE Add license 2025-04-29 23:59:13 +02:00
movie_helper.py Add make_gif stub 2025-05-04 23:09:12 +02:00
pixelebbe.py add privacy policy 2025-06-07 00:18:40 +02:00
README.md Update README.md 2025-06-16 17:22:29 +02:00
render_changelog.py Use white background for first frame of rendering 2025-06-21 00:13:05 +02:00
requirements.txt Add make_gif stub 2025-05-04 23:09:12 +02:00
setup.py Add assembly submit method 2025-12-27 11:47:10 +01:00

Pixelebbe

Pixelebbe is like Pixelflut, but slower. Get your (hacker) friends together and fill the canvas with color(s)! Submit your pixel change requests via word-of-mouth, Eventphone DECT Call, a phone tree or fax. We also accept ChaosPost!

Features (not fully implemented)

  • Multiple Events
  • a very simple to use API to set pixels
  • a beatuiful color palette
  • Adjustable canvas sizes per event
  • Pixel history tracking
  • Rate limiting to prevent troll abuse

Current State of the codebase

The codebase currently implements:

  • A predefined color palette with 32 colors (for now)
  • Event management system for handling multiple canvases
  • Admin interface for event configuration
  • API endpoints for pixel manipulation
  • User authentication system
  • Pixel history visualization

Still in development:

  • Sane Rate limiting implementation

Requirements

  • Python 3.8+
  • Flask
  • Flask-SQLAlchemy
  • Flask-Migrate
  • Pillow (Python Imaging Library)

Prod Installation

Please refer to the file install.md for production install instructions.

Dev Installation

  1. Clone the repository:
git clone https://github.com/yourusername/pixelebbe.git
cd pixelebbe
  1. Create a virtual environment and activate it:
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Copy the example configuration file and modify it:
cp config.py.example config.py
nano config.py
  1. Initialize the database:
python setup.py
  1. Start the development server:
FLASK_DEBUG=1 flask run

The application will be available at http://localhost:5000

Database Migrations

When you make changes to the database models in database.py, you need to create and apply migrations:

  1. Create a new migration:
flask db migrate -m "Description of your changes"
  1. Review the generated migration file in the migrations/versions directory

  2. Apply the migration:

flask db upgrade