{"id":48613205,"url":"https://github.com/ikkxeer/craftcoding","last_synced_at":"2026-04-09T01:01:51.589Z","repository":{"id":345604874,"uuid":"1186643903","full_name":"ikkxeer/CraftCoding","owner":"ikkxeer","description":"Application developed to promote the non-use of AI in programming, a tool to focus on and avoid using AI during code development.","archived":false,"fork":false,"pushed_at":"2026-03-19T21:57:22.000Z","size":4258,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-20T12:06:56.118Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ikkxeer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-19T21:00:34.000Z","updated_at":"2026-03-19T21:57:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"2723f498-dadb-4aa9-a783-c126363f0ccf","html_url":"https://github.com/ikkxeer/CraftCoding","commit_stats":null,"previous_names":["ikkxeer/craftcoding"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ikkxeer/CraftCoding","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikkxeer%2FCraftCoding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikkxeer%2FCraftCoding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikkxeer%2FCraftCoding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikkxeer%2FCraftCoding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ikkxeer","download_url":"https://codeload.github.com/ikkxeer/CraftCoding/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikkxeer%2FCraftCoding/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31580507,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-09T01:01:44.698Z","updated_at":"2026-04-09T01:01:51.561Z","avatar_url":"https://github.com/ikkxeer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\u003cimg src=\"img/artisancoder.png\" alt=\"CraftCoding\" width=\"120\"/\u003e\n\n# CraftCoding\n\n**Monitor your coding sessions. Prove every line is yours.**\n\n[![Python](https://img.shields.io/badge/Python-3.10%2B-3776AB?style=flat-square\u0026logo=python\u0026logoColor=white)](https://www.python.org/)\n[![Platform](https://img.shields.io/badge/Platform-Windows-0078D6?style=flat-square\u0026logo=windows\u0026logoColor=white)](https://www.microsoft.com/windows)\n[![License](https://img.shields.io/badge/License-MIT-22c55e?style=flat-square)](LICENSE)\n[![Built with AI](https://img.shields.io/badge/Built%20with-AI%20%F0%9F%98%87-D4AF37?style=flat-square)](https://github.com)\n\n*Yes, this anti-AI tool was built with AI. The irony is very much intentional.*\n\n\u003c/div\u003e\n\n---\n\n## What is CraftCoding?\n\nCraftCoding is a desktop application that runs silently while you code. It watches your windows, browser tabs, and running processes every second. The moment it spots an AI tool — ChatGPT, Cursor, Copilot, or anything else — it fires an alert, docks your score, and in Strict Mode redirects you.\n\nWhen you finish a project you get a **certificate PNG** with your stats and one of three seals:\n \n- 🥇 **Artisan Coder** — 0 detections, score ≥ 90%\n- 🥈 **Hybrid Coder** — used hints or had some detections\n- ❌ **Vibe Coder** — score below 50%\n\n\u003c/div\u003e\n\n---\n\n## Why does this exist?\n\nDuring my second year of cross-platform application development studies, I started noticing a worrying pattern: students were handing their problem-solving over to AI entirely — often without understanding what came back.\n\nAI is a powerful tool. The issue is **unconscious dependency**. CraftCoding makes the choice deliberate. You can still ask for help — it just costs you points and downgrades your seal.\n\n\u003e *The certificate is not a judgment. It is a record.*\n\n---\n\n## Features\n\n- **Project sealing**: name your project, seal it, and the timer only runs while you're actively coding\n- **Live timer**: pauses and resumes, everything saves automatically to a local SQLite database\n- **4-layer AI detection**: window titles, browser process arguments, running executables (Cursor, Copilot, Tabnine…), and live Edge/Chrome session files\n- **Two modes**: Friendly (warnings only) or Strict (closes the AI tab and redirects to Stack Overflow)\n- **Human Score**: starts at 100%, −5 per detection, −10 for using the emergency hint\n- **Emergency mode**: if you're completely stuck you can request a hint, but it downgrades your seal\n- **Certificate export**: generates a styled PNG with your medal image, stats, and a unique ID\n- **Project library**: manage all your past projects, filter by status, reopen or delete them\n\n---\n\n## Installation\n\n### Prerequisites\n\n- Python **3.10 or higher**\n- Windows 10 / 11 *(detection layers 2–4 are Windows-specific)*\n\n### 1 — Clone the repo\n\n```bash\ngit clone https://github.com/yourusername/craftcoding.git\ncd craftcoding\n```\n\n### 2 — Install dependencies\n\n```bash\npip install customtkinter pygetwindow pyautogui psutil Pillow\n```\n\n\u003cdetails\u003e\n\u003csummary\u003eOptional: Firefox session detection\u003c/summary\u003e\n\n```bash\npip install lz4\n```\n\u003c/details\u003e\n\n### 3 — Add your medal images\n\nPlace the three medal PNGs in an `img/` folder next to the script:\n\n```\ncraftcoding/\n├── craftcoding.py\n├── craftcoding.db        ← created automatically on first run\n└── img/\n    ├── artisancoder.png\n    ├── hybridprogramer.png\n    └── vibecoder.png\n```\n\n### 4 — Run\n\n```bash\npython craftcoding.py\n```\n\n---\n\n## How to use it\n\n```\n1. Type your project name  ──▶  Press Enter or click SELLAR\n                                        │\n2. Choose your mode  ────────────────▶  Amable (warnings) or Estricto (closes tabs)\n                                        │\n3. Click ▶ INICIAR FORJA  ────────────▶  Timer starts. CraftCoding watches.\n                                        │\n4. Code.                                │\n                                        │\n5. Click ⏸ PAUSAR  ─────────────────▶  Progress saves automatically.\n                                        │\n6. Click 🏆 CERTIFICAR  ─────────────▶  Get your seal. Export your certificate.\n```\n\n\u003e Your project library is always accessible from the sidebar with **📂 Mis Proyectos**.\n\u003e You can close and reopen the app at any time — everything is saved.\n\n---\n\n## Detection accuracy\n\n| Scenario | Result |\n|----------|--------|\n| ChatGPT open with a renamed chat title | ✅ Detected — window title scan |\n| Claude in an Edge tab in the background | ✅ Detected — session file scan |\n| Cursor IDE running | ✅ Detected — process scan |\n| GitHub Copilot active in VS Code | ✅ Detected — process scan |\n| ChatGPT visited 20 min ago, tab now closed | ✅ Not detected — history scan intentionally removed |\n| Edge closed, old session file on disk | ✅ Not detected — 5-minute freshness check |\n| Ollama running locally | ✅ Detected — process scan |\n\n---\n\n## Project structure\n\n```\ncraftcoding.py        Entry point and full application\ncraftcoding.db        SQLite database (auto-created, auto-migrated)\nimg/                  Medal images used in certificate generation\n```\n\nThe database stores: project name · total seconds · Human Score · AI detection count · status · start/end dates · seal type.\nSchema migrations run automatically — old databases update without data loss.\n\n---\n\n## Tech stack\n\n| Library | Role |\n|---------|------|\n| [CustomTkinter](https://github.com/TomSchimansky/CustomTkinter) | Modern dark-mode desktop UI |\n| [psutil](https://github.com/giampaolo/psutil) | Process monitoring |\n| [PyGetWindow](https://github.com/asweigart/pygetwindow) | Window title scanning |\n| [PyAutoGUI](https://github.com/asweigart/pyautogui) | Tab redirection in Strict mode |\n| [Pillow](https://python-pillow.org/) | Certificate PNG generation |\n| SQLite3 | Local project database (stdlib) |\n\n---\n\n\u003cdiv align=\"center\"\u003e\n\n**CraftCoding** — because the best code is the code you actually understand.\n\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fikkxeer%2Fcraftcoding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fikkxeer%2Fcraftcoding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fikkxeer%2Fcraftcoding/lists"}