Aller au contenu principal
logoYvan Kerdanet
Retour

Grimoria Scantrad

En cours

Plateforme de scantrad en construction. Première brique : un back-office qui suit chaque chapitre planche par planche, de la page brute à l'export. Le catalogue, le lecteur et la communauté suivront. Projet personnel, codé moi-même avec Le Professeur en mentor.

PythonDjangoDjango REST FrameworkPostgreSQLCeleryRedispytestGitHub Actions
août 2026· dernier push novembre 2026

// langages

Python100.0%

// fonctionnalités

  • Squelette de l'API Django / DRF avec endpoint de santé
  • Tests pytest et CI GitHub Actions sur chaque PR, lancée seulement quand l'API change

// défis

  • Concevoir le pipeline de production : clean et trad en parallèle, puis edit et check, avec renvoi en reprise si le check échoue
  • Laisser chaque membre s'auto-assigner planche par planche selon ses compétences, sans attribution centralisée
  • Réapprendre Django en codant moi-même, avec Le Professeur en mentor

// axes d'amélioration

  • Back-office équipe : pipeline planche par planche, invitations par lien, notifications Discord et export des planches finales
  • Catalogue public et lecteur
  • Comptes lecteurs, commentaires et favoris
  • Bot Discord dédié

// README

Grimoria

The back-office where a scanlation team turns raw scans into finished chapters.

Python Django DRF PostgreSQL Celery Redis Next.js

Why

A few years ago, I promised my scanlation team a proper tool to work together. Grimoria is me keeping that promise: a personal challenge, and an attempt to give the team a fresh boost.

How a chapter gets made

Every page goes through four steps. Clean and translation run in parallel, typesetting waits for both, and a failed check sends the page back with a comment.

flowchart LR raw([Raw scan]) --> clean[Clean] raw --> trad[Translate] clean --> edit[Typeset] trad --> edit edit --> check{Check} check -- approved --> out([Publish or export]) check -. rework .-> edit

Members pick the steps that match their roles, chapter by chapter. Leads create chapters, invite people, and decide when to publish. Key events land in the team's Discord.

Status

The API is being built step by step, following the roadmap.

  • Project scaffold, tests and CI
  • Environment, PostgreSQL and Celery
  • Supabase authentication
  • Teams, members and invites
  • Chapters and the production pipeline
  • Discord notifications
  • Publishing and export
  • Web app (Next.js)

Run the API locally

Requirements: Python 3.12 and Docker

From apps/api:

python -m venv .venv .venv/Scripts/pip install -r requirements.txt # .venv/bin/pip on Linux/macOS cp .env.example .env # then set SECRET_KEY (see the comment in the file) docker compose up -d # PostgreSQL and Redis .venv/Scripts/python manage.py migrate .venv/Scripts/pytest

Start the Celery worker (on Windows, --pool=solo is required):

.venv/Scripts/celery -A config worker --pool=solo -l info

Repository

apps/api/ Django REST API docs/specs/ product specification (French) docs/plans/ roadmap (French)

Every change goes through a pull request to master, and the CI must pass before merging. Commits follow Conventional Commits.

License

All rights reserved. The code is public for reference; reuse requires permission.