Gallery
tobis
2071
tobis

tobis

Hours 10h 34m

by moukal

API for public transit (train, bus, shuttle, etc...) in Morocco

Extra info
Submitted at 2026-05-05T22:58:58.473Z Approved at 2026-05-06T16:38:15.701Z
User submitted 16h 46m Reviewer approved 10h 34m Hackatime projects: [22138]
Raw project json
{
    "aasm_state": "approved",
    "ai_declaration": "I used Claude to find out how FastAPI worked since I was only used to using flask, I learned a lot about that framework \u0026 modular API coding in general thanks to this. I also used Claude to help me fix some bugs and to make sure the APIs it relied on couldn\u0027t be abused by a 3rd party.\r\n\r\nI generated a bit of code using AI: line 27-123 journey.py, 76-91 oncf.py, 40-58 main.py, 6-160 index.html, 237-406 index.html, 73-98 routers/supratours.py, 36-85 routers/saspt.py, 47-65 routers/alsa.py. The reason for this was to make it faster for me to implement stuff that would have taken me a lot of time like comparing timestamps and fixing up the CSS (I am not a webdev guru) etc... I was conscious of the 30% ratio so I tried my best to keep it under it: there are 3,321 lines, 552 of which were made by LLMs, making for 17% of the project.\r\n\r\nThe data in the /data folder were mostly generated from pdfs of routing schedules that I turned to .jsons with Claude, they were still full of errors so I inspected it manually and fixed some errors, I wouldn\u0027t say it\u0027s either code or AI generated though. I procedurally generated CITIES.py with data from the APIs.",
    "approved_at": "2026-05-06T16:38:15.701Z",
    "approved_seconds": 38080,
    "created_at": "2026-05-04T18:43:36.573Z",
    "demo_link": "https://tobis-production.up.railway.app/portal",
    "desc": "API for public transit (train, bus, shuttle, etc...) in Morocco",
    "hackatime_projects": [
        22138
    ],
    "high_quality": false,
    "id": 2071,
    "real_approved_seconds": 38088,
    "rejected_at": null,
    "repo_link": "https://github.com/elmkl/tobis",
    "reported_seconds": 60412,
    "screenshot": "https://r2.hctg.gallery.karimeltaib.com/2071.jpg",
    "status": "Approved on 2026-05-06",
    "submitted_at": "2026-05-05T22:58:58.473Z",
    "tags": [
        3
    ],
    "title": "tobis",
    "total_seconds": null,
    "unread_notification_count": 0,
    "updated_at": "2026-05-06T16:38:15.707Z",
    "user_id": 271,
    "username": "moukal",
    "ysws": null
}