0txt is a secure, privacy-focused, open-source text storage platform inspired by ProtectedText. It allows users to create, save, and manage encrypted notes without any central authority having access to their data.
- End-to-End Encryption: All notes are encrypted client-side, ensuring only you can read them.
- Password Protection: Password protection for enhanced security.
- No Account Required: Create and manage notes without registration.
- Lightweight & Fast: Optimized for performance with a minimalistic UI.
- Mobile-Friendly: Responsive design for seamless usage on mobile devices.
# Clone the repository
git clone https://github.com/suzalshrestha/0txt.git
cd 0txt
npm install
npm run dev
# The app will be running at http://localhost:3000
npm run build
npm start
- Trigger: On every push to the
production
branch. - Tasks: SSH into the production server, pull the latest changes, run lint checks, build the project, and restart the server using PM2.
Note: Never commit
.env
to version control.
- Linting: Uses ESLint
- Run Linter:
npm run lint
To auto-fix issues:
npm run lint -- --fix
- All encryption happens client-side.
- No sensitive data is stored on the server.
- Strong password recommendations for note protection.
Disclaimer: Always audit open-source projects before using them in production for sensitive data.
- Fork the repository
- Create your feature branch:
git checkout -b feature/YourFeature
- Commit your changes:
git commit -m 'Add new feature'
- Push to the branch:
git push origin feature/YourFeature
- Open a Pull Request
This project is licensed under the MIT License.
- Inspired by ProtectedText
- Special thanks to the open-source community ❤️
Built with ❤️ by sujal