hyperfiler
no-pdf-download
hyperfiler | no-pdf-download | |
---|---|---|
5 | 1 | |
48 | 16 | |
- | - | |
1.1 | 0.0 | |
almost 3 years ago | over 1 year ago | |
TypeScript | JavaScript | |
GNU Affero General Public License v3.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
hyperfiler
-
We are drowning in churn and noise. I am fighting by switching this site to PDF
>HTML can easily be offline-able. Base64 your images or use SVG, put your CSS in the HTML page, remove all 2-way data interaction, basically reduce HTML to the same performance as PDF and allow it to be downloaded.
I built a tool for this exact purpose[0] since the HTML specification and modern browsers have a lot of nice features for creating and reading documents compared to PDF (reflow and responsive page scaling, accessibility, easily sharable, a lot of styling options that are easy to use, ability for the user to easily modify the document or change the style, integration with existing web technologies, etc.). In general I would rather read an HTML document than the PDF document since I like to modify the styling in various ways (dark theme extensions in the browser for example) which may be hard to do with a PDF, but its more of a personal preference. Some people will prefer that the document adjusts to the screen size of the device (many HTML pages), and others will prefer the exact same or similar rendering regardless of the screen size (PDF).
Either way, kind of a fun idea making a website using just PDFs. Not the most practical choice, but fun none-the-less.
[0] https://github.com/chowderman/hyperfiler
-
HTTrack Website Copier – Free Software Offline Browser (GNU GPL)
There is also a similar program called HyperFiler[0]* that bundles web pages into single HTML files with a few more options such as a headless chromium transport option, built in minifiers, page sanitizers, and an option to grayscale the output pages, among other options. It's TypeScript based and has an programmatic API to customize the bundling process as well.
[0] https://github.com/chowderman/hyperfiler
* disclaimer: I created HyperFiler
- HyperFiler: Archive web pages by bundling them into single HTML files
- HyperFiler: Bundle web pages into hyper minified, single HTML files
no-pdf-download
-
We are drowning in churn and noise. I am fighting by switching this site to PDF
It depends on the Content-Disposition header: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Co....
There are extensions that let you intercept this header, e.g. https://addons.mozilla.org/en-GB/firefox/addon/no-pdf-downlo... which per https://github.com/MorbZ/no-pdf-download/blob/c924d657f33398... detects the content-type and if it’s PDFy replaces the content-disposition header with “inline”.
(Clicking on a link that has the download attribute set also affects things: https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorE....)
What are some alternatives?
einkbro - A small, fast web browser based on Android WebView. It's tailored for E-Ink devices but also works great on normal android devices.
lagrange - A Beautiful Gemini Client
wayback - A bot for Telegram, Mastodon, Slack, and other messaging platforms archives webpages.
zotero - Zotero is a free, easy-to-use tool to help you collect, organize, annotate, cite, and share your research sources.
monolith - ⬛️ CLI tool for saving complete web pages as a single HTML file
Browser - Do some browser detection with Ruby. Includes ActionController integration.