Skip to content

0txt - A Secure, No-Registration, Encrypted Notepad A simple, end-to-end encrypted, open-source text storage web app. Access your notes from anywhere without registration. Inspired by ProtectedText.

License

Notifications You must be signed in to change notification settings

SuzalShrestha/0txt

Repository files navigation

0txt

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. Screenshot 2025-02-05 at 9 38 34 PM


🚀 Features

  • 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.

⚡ Getting Started

Clone the Repository

# Clone the repository
git clone https://github.com/suzalshrestha/0txt.git
cd 0txt

Install Dependencies

npm install

Run Locally

npm run dev
# The app will be running at http://localhost:3000

Build for Production

npm run build
npm start

🚀 CI/CD Pipeline

GitHub Actions Workflow

  • 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 & Code Quality

  • Linting: Uses ESLint
  • Run Linter:
npm run lint

To auto-fix issues:

npm run lint -- --fix

🛡️ Security Considerations

  • 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.


🤝 Contributing

  1. Fork the repository
  2. Create your feature branch: git checkout -b feature/YourFeature
  3. Commit your changes: git commit -m 'Add new feature'
  4. Push to the branch: git push origin feature/YourFeature
  5. Open a Pull Request

📜 License

This project is licensed under the MIT License.


🙏 Acknowledgments

  • Inspired by ProtectedText
  • Special thanks to the open-source community ❤️

Built with ❤️ by sujal

About

0txt - A Secure, No-Registration, Encrypted Notepad A simple, end-to-end encrypted, open-source text storage web app. Access your notes from anywhere without registration. Inspired by ProtectedText.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published