PixelCraft — a lightweight, privacy-first in-browser image editor. No uploads, no accounts, just fast local editing with layers, brushes and basic filters.
bash
git clone https://github.com/Ajad-cpu/PixelCraft.git cd PixelCraft
download npm and run npm install
npm run server
Open http://localhost:8000 (or the port printed by your server) and start editing! 🎨
PixelCraft is a small, open-source image editor built to run entirely in the browser — no uploads, no telemetry. It's perfect for quick edits, prototyping, teaching, or embedding a simple canvas editor inside another web app.
Key features
- Layers and basic layer controls
- Brush / paint tools and shape tools
- Basic filters and adjustments
- Drag-and-drop and clipboard paste support
- Offline-friendly: service worker and static assets included
- index.html — single-page entry and demo UI
- dist/ — built assets (if available)
- images/ — screenshots and demo assets
- examples/ — example files and demos
- package.json & webpack.config.js — dev/build scripts
- The repo already contains static assets and a working index.html, so you can run it without Node.
- If you want to modify build tooling, run npm install then npm run build (if present).
Helpful commands
bash npm install # install deps npm run dev # start development server (if provided) npm run build # build production assets (if provided)
- Change UI styles by editing the CSS files in the repo.
- Add auto-save using localStorage to persist canvases between reloads.
- Export enhancements: add SVG export or better PNG metadata.
- Add collaborative drawing with WebSockets (socket.io).
- Blank page: Open DevTools → Console. Make sure index.html can load bundle.js (if present) and assets from the correct relative path.
- npm run dev not found: The repo is primarily static; you can use a static server (see Quick start) or add a dev toolchain.
- Port already in use: change the port when running the server: npm run server -- -p 9001.
Contributions are welcome!
- Fork the repo
- Create a branch: git checkout -b feature/my-cool-tool
- Commit: git commit -m "feat: add "
- Push & open a PR
Please add screenshots or short GIFs for any UI changes.
PixelCraft is released under the MIT License. See LICENSE for details.
If you want help customizing this README or adding deployment (GitHub Pages / GitHub Actions), CI, or a Dockerfile, email: azadsinghdinkar@gmail.com.
Happy pixel-crafting! 🖌