|
1 | | -# patra |
2 | | -Alternative Tool for Editing your documentations and PDF Files |
| 1 | +# 📝 Lipika – Open Source PDF Editor |
| 2 | + |
| 3 | +**Lipika** (लिपिका) is a lightweight, browser-based PDF editor built with React and powered by [pdf-lib](https://pdf-lib.js.org/). It allows users to upload, annotate, highlight, sign, and save PDF files without any server involvement. The name _Lipika_ means "scribe" or "writer" in Sanskrit. |
| 4 | + |
| 5 | +--- |
| 6 | + |
| 7 | +## 🚀 Features |
| 8 | + |
| 9 | +- 📥 Upload and view any PDF |
| 10 | +- ✍️ Add highlights to text |
| 11 | +- ✒️ Insert signature placeholders |
| 12 | +- 🎨 Draw lines and shapes |
| 13 | +- ↩️ Undo last action |
| 14 | +- 💾 Save the edited PDF locally |
| 15 | +- 🧠 In-memory editing using `pdf-lib` |
| 16 | +- 🔐 No data leaves your device (privacy-first) |
| 17 | + |
| 18 | +--- |
| 19 | + |
| 20 | +## 📸 Demo Preview |
| 21 | + |
| 22 | +> Upload a PDF, edit it in-browser, and download the modified version instantly! |
| 23 | +
|
| 24 | + <!-- Add screenshot in repo --> |
| 25 | + |
| 26 | +--- |
| 27 | + |
| 28 | +## 🛠 Tech Stack |
| 29 | + |
| 30 | +- **Frontend**: React |
| 31 | +- **PDF Engine**: [pdf-lib](https://pdf-lib.js.org/) |
| 32 | +- **Styling**: CSS (Tailwind optional in future roadmap) |
| 33 | + |
| 34 | +--- |
| 35 | + |
| 36 | +## 📦 Installation |
| 37 | + |
| 38 | +```bash |
| 39 | +git clone https://github.com/chandanrattan/lipika.git |
| 40 | +cd lipika |
| 41 | +npm install |
| 42 | +npm start |
| 43 | +``` |
| 44 | + |
| 45 | +Visit `http://localhost:3000` to start using the app locally. |
| 46 | + |
| 47 | +--- |
| 48 | + |
| 49 | +## 📁 Project Structure |
| 50 | + |
| 51 | +``` |
| 52 | +lipika/ |
| 53 | +├── .github/ |
| 54 | +│ └── workflows/ |
| 55 | +│ └── node.js.yml # GitHub Actions CI setup |
| 56 | +├── public/ # Static files |
| 57 | +├── src/ # React components & logic |
| 58 | +│ ├── App.js # Main app component |
| 59 | +│ └── App.css # Basic styling |
| 60 | +├── .gitignore |
| 61 | +├── package.json |
| 62 | +├── README.md |
| 63 | +└── LICENSE # Apache License 2.0 |
| 64 | +``` |
| 65 | + |
| 66 | +--- |
| 67 | + |
| 68 | +## 📌 Roadmap |
| 69 | + |
| 70 | +- [ ] Text box annotations |
| 71 | +- [ ] Signature image upload |
| 72 | +- [ ] Drawing canvas with eraser |
| 73 | +- [ ] Multi-page PDF editing |
| 74 | +- [ ] Export to images (PNG/JPG) |
| 75 | +- [ ] Dark mode support |
| 76 | + |
| 77 | +--- |
| 78 | + |
| 79 | +## 📄 License |
| 80 | + |
| 81 | +This project is licensed under the **Apache License 2.0**. Please read [LICENSE](./LICENSE) for details. |
| 82 | + |
| 83 | +> _Modifications and redistributions are allowed with attribution. For any commercial or extended use, kindly contact the maintainer._ |
| 84 | +
|
| 85 | +--- |
| 86 | + |
| 87 | +## 🤝 Contributing |
| 88 | + |
| 89 | +Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change. |
| 90 | + |
| 91 | +--- |
| 92 | + |
| 93 | +## 💬 Connect |
| 94 | + |
| 95 | +- Project Lead: [Chandan Bhardwaj](https://github.com/chandanrattan) |
| 96 | +- Issues & Feedback: [GitHub Issues](https://github.com/chandanrattan/lipika/issues) |
| 97 | + |
| 98 | +--- |
| 99 | + |
| 100 | +**Lipika** – _Write. Highlight. Sign. All in your browser._ |
0 commit comments