HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
DO-SAY-GO
chai
JavaScript2019–2024
DO-SAY-GO / chai

chai

chai - Experience Zero Trust security with Chai! Convert and view documents as vivid images right in your browser. No mandatory downloads, no hassle—just pure, joyful security! 🌈

6Distinct people
17Mentions
0Explicit recommenders
365GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

chai - Experience Zero Trust security with Chai! Convert and view documents as vivid images right in your browser. No mandatory downloads, no hassle—just pure, joyful security! 🌈

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year17 dated mentions

Observed mentions: 2019-12-30 16:05:49 UTC to 2024-04-21 02:57:31 UTC.

02468102019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments20192020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments20212022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 9 mentions; 6 submissions, 3 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments2024

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC110
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC211
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC211
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC000
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC963
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC303

What Hacker News says

17 sources
Don't worry about it, you're confused, it's okay. Hahahaha! :) AGPL requires you release the source and we do that. As an aside — would be interesting to get Artifex's comment on this — but I'm not even sure it applies as we install the mutool binary via apt, call it from bash, and we don't modify or use their libraries at all. Would this even need to comply with AGPL at all? I don't know. If you'd carried on your search of our source a little bit further, you'd see we use the mutool binary: https://github.com/dosyago/chai/blob/37c1a1ec0941d81e0d6f8af... ; and you also may have discovered what the AGPL means: https://artifex.com/licensing/agpl/ Hahahaha! :)
In MuPDF WASM Viewer Demo
Off-topic: Chai's license seems to be proprietary now. 7 months ago the license was AGPL as given by the LICENSE and README.md files [1][2]. 1 month ago, the LICENSE file was changed to the text of the PolyForm Noncommercial License 1.0.0 [3], but the README.md still says AGPL. If Chai continues to use MuPDF (AGPL [4]), then isn't Chai's new license contradictory (unless the Chai developers got a license exception from Artifex Software)? [1] https://github.com/dosyago/chai/blob/a6b7fb50647ae001185bdc8... [2] https://github.com/dosyago/chai/blob/a6b7fb50647ae001185bdc8... [3] https://github.com/dosyago/chai/commit/45da5f12ab8a817dc4f74... [4] https://github.com/ArtifexSoftware/mupdf/blob/master/COPYING
In MuPDF WASM Viewer Demo
If you want to convert a postscript file (or .eps) to PDF you can use ImageMagick: convert -density 300 input.ps -quality 100 output.pdf If you're interested in this kind of thing, I packaged a lot of functionality (including zip files) into an open source doc viewer called "chai" (that also works on mac, install deps via brew). Please note its focus is on security rather than looks so it converts docs to page images that you then view in (an optionally local) web client. You can easily modify the convert process to move it to PDF rather than page images tho. Check it out: https://github.com/dosyago/chai
In PostScript’s sudden death in Sonoma
Wow, I always thought this stuff was done by hand. I had no idea! Yeah, I recently discovered how to turn these old ascii docs into PDFs and page images in a way that preserves their beautiful formatting, using LaTeX: input_file="my_file_downloaded_from_textfiles.txt" cat <<TAO > "file.tex" \documentclass{article} \usepackage[left=2cm,right=1cm,top=2cm,bottom=2cm]{geometry} % Adjust the global margin \usepackage{listings} \usepackage{beramono} \usepackage[T1]{fontenc} \lstset{% language={},% basicstyle=\ttfamily,% linewidth=19cm,% breaklines=true,% breakatwhitespace=false,% texcl=false,% literate={\\\}{{\textbackslash}}1 } \begin{document} \pagestyle{empty} % Remove page numbers \lstinputlisting{"$input_file"} \end{document} TAO I pu
Read the rest
t it into a project here: https://github.com/dosyago/chai
In The Social Organization of the Computer Underground (1989)
Not terribly related, tho I created a source-available (not "open source" as it's Polyform Strict License) secure document viewer, which thanks to the libreoffice and other backends supports PDF, DOCX, XLSX, etc and provides a web interface where an uploaded document is converted and "images of pages" format and displayed: https://github.com/dosyago/documentspark The idea is to defuse/prevent any document-borne malware vectors from infecting the device. I incorporate a version of it into the Pro version of my RBI (remote browser), BrowserBox.
In Hermes: An open-source document management system

Showing the 15 most recent of 17 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.