UNPKG

bbpro

Version:

BrowserBox - remote browser isolation tool

94 lines (57 loc) β€’ 2.56 kB
# 🌈 Chai: Your Zero Trust Document Viewer! 🌟 Visit us on [GitHub](https://github.com/dosyago/documentspark) ## The Future of Secure Document Viewing is Here! πŸŽ‰ Convert documents into spectacular images for each page, and view them securely in your browser! No downloads, no third-party appsβ€”just pure, joyful, **Zero Trust** goodness! Proudly part of the [BrowserBox Pro cloud browser product](https://github.com/dosyago/BrowserBoxPro) by Dosyago. --- ## 🌈 Why You'll Love Chai 🌈 - **Zero Trust Security**: Your document stays with you, always! πŸ›‘οΈ - **Universal Formats**: PDF, DOC, XLSXβ€”we speak all languages! 🌐 - **High-Performance**: Get ready to be amazed by the speed! πŸš€ - **Open Source**: Built by the community, for the community! πŸ’– --- ## ✨ How the Magic Happens ✨ 1. **Send Us Your Document**: Upload a file or just drop a URL. 2. **Transformation Time**: We convert it into a beautiful gallery of high-quality images. 🎨 3. **Enjoy**: Open your browser to a vivid, scrollable display of your document. 🌠 --- ## 🌟 SEO Keywords 🌟 - Zero Trust Document Viewer - Secure PDF Viewer - Browser-based Document Viewer - Multi-Format Document Viewer --- ## πŸš€ Quick Start Guide πŸš€ ```sh # Clone the treasure! git clone https://github.com/dosyago/chai.git # Enter the magical kingdom cd chai # Set up the wizardry ./scripts/setup.sh # Ignite the spark! ./scripts/restart.sh ``` *If you just want to run the server temporarily, you can hit `npm start` instead of the `pm2`-using `./scripts/restart.sh`* --- ## 🌠 Pro Tips and Tricks 🌠 - Got SSL certs? Place them in `$HOME/sslcerts/` and we'll go HTTPS! 🌐 - Tweak the `secret=<your secret>` URL parameter for extra magical powers. 🌟 - Document lifespan is 3 days by default, but feel free to change that in `/public/uploads/clean.sh`. πŸ•°οΈ --- ## πŸŽ‰ Turn It into an API πŸŽ‰ Want more? Use the POST endpoint with a `secret=` parameter to authorize conversion via a secure HTTPS API. --- ## 🌈 System Requirements 🌈 We recommend a beefy machine with at least 4 cores and 8 GB RAM for a spellbinding experience. --- ## 🌟 Special Thanks 🌟 - [ImageMagick](https://github.com/ImageMagick/ImageMagick) - [Ghostscript](https://git.ghostscript.com/) - [LibreOffice](https://www.libreoffice.org/) *\*No affiliation* --- ## πŸ“œ License πŸ“œ AGPL-3.0. For custom licensing options, email us at [hello@dosyago.com](mailto:hello@dosyago.com). --- **Enjoy your Documents Responsibly with Chai! 🌈** ---