{"id":29670676,"url":"https://github.com/tejastn10/papyrus","last_synced_at":"2026-04-12T10:32:01.179Z","repository":{"id":304434333,"uuid":"961087871","full_name":"tejastn10/papyrus","owner":"tejastn10","description":"🔐 Papyrus – Securely add or remove passwords from PDF files in your browser. Built with React + Vite \u0026 FastAPI for speed, privacy, and simplicity.","archived":false,"fork":false,"pushed_at":"2025-07-13T03:31:32.000Z","size":684,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-13T05:30:21.701Z","etag":null,"topics":["fastapi","pdf","python","react","typescript","vite"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tejastn10.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2025-04-05T18:15:44.000Z","updated_at":"2025-07-13T03:26:26.000Z","dependencies_parsed_at":"2025-07-13T05:40:29.754Z","dependency_job_id":null,"html_url":"https://github.com/tejastn10/papyrus","commit_stats":null,"previous_names":["tejastn10/papyrus"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/tejastn10/papyrus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tejastn10%2Fpapyrus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tejastn10%2Fpapyrus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tejastn10%2Fpapyrus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tejastn10%2Fpapyrus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tejastn10","download_url":"https://codeload.github.com/tejastn10/papyrus/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tejastn10%2Fpapyrus/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266561610,"owners_count":23948633,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":["fastapi","pdf","python","react","typescript","vite"],"created_at":"2025-07-22T19:37:30.184Z","updated_at":"2025-12-30T21:35:18.339Z","avatar_url":"https://github.com/tejastn10.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"logo.svg\" alt=\"Papyrus Logo\" height=\"160\" /\u003e\n\u003c/p\u003e\n\n# Papyrus 📄\n\n![Python](https://img.shields.io/badge/Python-3.11+-3776AB?logo=python\u0026logoColor=white)\n![FastAPI](https://img.shields.io/badge/FastAPI-0.116+-009688?logo=fastapi\u0026logoColor=white)\n![Vite](https://img.shields.io/badge/Vite-7+-646CFF?logo=vite\u0026logoColor=white)\n![React](https://img.shields.io/badge/React-19+-61DAFB?logo=react\u0026logoColor=white)\n![License](https://img.shields.io/badge/License-MIT-yellow?logo=open-source-initiative\u0026logoColor=white)\n\n**Papyrus** is a lightweight and secure PDF management tool that helps you seamlessly **add or remove passwords** from PDF files. Built with a blazing-fast frontend using **React + Vite** and a high-performance **FastAPI** backend, Papyrus ensures privacy and ease of use — right from your browser.\n\n---\n\n## ✨ Features\n\n- 🔐 **Add Password**: Secure your PDF files with a password in just one click.\n- 🔓 **Remove Password**: Strip password protection from encrypted PDF files.\n- ⚡ **Fast \u0026 Lightweight**: Optimized for speed with Vite + React and FastAPI.\n- 🛡️ **No File Storage**: All files are processed in memory — nothing is stored on disk.\n- 🎯 **User-Friendly UI**: Simple drag-and-drop interface for quick interaction.\n\n---\n\n## 🚀 Getting Started\n\n### 📦 Prerequisites\n\nEnsure you have the following installed:\n\n- **Node.js**: v22 or later\n- **Python**: v3.11 or later\n- **Poetry**: for managing Python dependencies\n- **Docker** (optional, for containerized setup)\n\n---\n\n### 🧪 Local Development\n\n#### Backend (FastAPI)\n\n```bash\n# Navigate to backend folder\ncd backend\n\n# Install dependencies\npoetry install\n\n# Start FastAPI server\npoetry run uvicorn app.main:app --reload --port 5000\n````\n\nServer will be available at: [http://localhost:5000/docs](http://localhost:5000/docs)\n\n#### Frontend (Vite + React)\n\n```bash\n# Navigate to frontend folder\ncd frontend\n\n# Install dependencies\nnpm install\n\n# Start development server\nnpm run dev\n```\n\nFrontend runs at: [http://localhost:3000](http://localhost:3000)\n\n---\n\n### 🐳 Using Docker (Optional)\n\n```bash\ndocker-compose up --build\n```\n\nThis starts both the FastAPI backend and React frontend.\n\n---\n\n## 📂 Project Structure\n\n```bash\npapyrus/\n├── backend/                   # FastAPI backend\n│   ├── app/\n│   │   ├── api/               # API routes\n│   │   ├── utils/             # Common utility functions\n│   │   ├── models/            # Models\n│   │   ├── config/            # Settings, config\n│   │   ├── services/          # PDF encryption/decryption logic\n│   │   ├── middleware/        # Middleware\n│   │   └── main.py            # App entry point\n│   ├── tests/                 # Backend unit tests\n│   ├── pyproject.toml         # Poetry config\n│   └── Dockerfile             # Backend Docker setup\n│\n├── frontend/                  # React + Vite frontend\n│   ├── src/                   # Main app code\n│   ├── public/                # Static assets\n│   ├── vite.config.ts         # Vite configuration\n│   └── Dockerfile             # Frontend Docker setup\n│\n├── compose.yml         # Multi-service Docker config\n└── README.md                  # You're here!\n```\n\n---\n\n## 📘 API Documentation\n\nSwagger docs are auto-generated and available at:\n\n```bash\nhttp://localhost:5000/docs\n```\n\n---\n\n## ⚖️ License\n\nThis project is licensed under the [MIT License](./LICENSE.md).\n\n---\n\n## 🙌 Acknowledgments\n\n- Powered by [FastAPI](https://fastapi.tiangolo.com) and [React](https://react.dev)\n- PDF operations handled by [PyPDF2](https://pypdf2.readthedocs.io/)\n- UI inspired by minimal productivity apps like CleanShot and Arc Browser.\n\n---\n\nBuilt with 💙 by Tejas.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftejastn10%2Fpapyrus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftejastn10%2Fpapyrus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftejastn10%2Fpapyrus/lists"}