|6 months ago||14 days ago|
|MIT License||GNU Affero General Public License v3.0|
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.
Guide (and example code) to producing beautiful PDFs from CSS and JS
1 project | reddit.com/r/css | 6 Apr 2021
Beautiful PDFs from HTML
13 projects | news.ycombinator.com | 4 Apr 2021
The repo (https://github.com/ashok-khanna/pdf) contains all the necessary code and is intended for others to reuse in their projects. Some of it isn’t straightforward, despite the guide looking easy - I had to figure out how CSS selectors and counters work for example, how MathJax interacted with Paged.Js.
I think the confusion comes from it being labeled as a “guide”, in fact it’s a full set of code to give the required functionality for high quality PDFs from HTML, using paged.js, the guide is just the self documentation as I figured I might as well use documentation for the sample output. Otherwise, I’d be genuinely curious on what constitutes Show HN vs normal posts?
I think the repo description and the way the output is confusing / unclear - the primary goal is very much meant to be a code base for people to reuse as I’ve noticed for many programmers, the design side can be a bit more elusive.
Separately, would it be possible to add beautiful back to the title - it’s not really about producing PDFs from html as browsers can already do that, and there are many other tools. The main aim is to have the functionality to produce very high quality typeset PDFs from HTML, which until now, I only felt PrinceXML did well and that’s a paid solution. Maybe we could say the title is “High quality PDFs from HTML using Paged.JS”? I know there has been a separate discussion on another thread on the overuse of the word beautiful in describing code - my view is that it has its place when it relates to output / UI.
Thanks for reading, and no issues otherwise (no need to reply).13 projects | news.ycombinator.com | 4 Apr 2021
This looks great -- well done! I'd love to be able to use it (the CSS in particular) in a number of different projects where creating such nice readable output is a hassle. However I couldn't find a license mentioned anywhere -- either for the associated repo as a whole  or the CSS specifically.
Would it be possible to add a license so it's possible to know whether others can use this in other projects without rewriting the CSS from scratch?
Iras warns of tax reimbursement phishing scam website
1 project | reddit.com/r/singapore | 25 Jan 2022
These days, there are even tools to just rip the entire page: https://github.com/gildas-lormeau/SingleFile
How do I save a website that I have open, but has been deleted from the internet?
1 project | reddit.com/r/DataHoarder | 16 Jan 2022
You could try installing SingleFile and saving it with that. For video content you could try right-clicking and saving the video files manually if there aren't too many.
Designed to Last
3 projects | news.ycombinator.com | 23 Dec 2021
Is there a browser addon which locally archives every website I visit?
4 projects | reddit.com/r/DataHoarder | 23 Dec 2021
You want to save the actual webpage? SingleFile can do that.
What fonts are used in library ebook app Libby or OverDrive?
1 project | reddit.com/r/identifythisfont | 20 Dec 2021
I may able answer my own question. I saved each of the different fonts in html using SingleFile. I then looked for font-family. This time it saved the text of the paragraphs and had a font-family listed in line 100. However none was listed for publisher's default.
Any way to archive the wiki/megathread all at once?
2 projects | reddit.com/r/Piracy | 19 Dec 2021
Use SingleFile or ArchiveBox for offline archive
which should use to archive webpages singlefile or webscrapbook?
3 projects | reddit.com/r/DataHoarder | 12 Dec 2021
I like SingleFile, but it doesn't retain styles, etc.
Is there a way to make my bookmarks available offline to preserve them from future deletion?
2 projects | reddit.com/r/DataHoarder | 11 Dec 2021
If it's a single web page without any dynamic content I use SingleFile. It's an extension for Chrome and Firefox, very easy to use.
Ask HN: What browser extensions are a must-have for HNers in 2021?
28 projects | news.ycombinator.com | 22 Nov 2021
[Update] I was desperate for a hug and got so much more than I bargained for!
1 project | reddit.com/r/ireland | 12 Nov 2021
protip! theres a browser extension called SingleFile that will download a webpage and save it to a html file. its much better for important stuff like this that you want to look at again in the future
What are some alternatives?
ArchiveBox - 🗃 Open source self-hosted web archiving. Takes URLs/browser history/bookmarks/Pocket/Pinboard/etc., saves HTML, JS, PDFs, media, and more...
headless-recorder - Chrome extension that records your browser interactions and generates a Playwright or Puppeteer script.
page-ruler-redux - An awesome page ruler extension for google chrome
FoxyRecon - A Firefox add-on for OSINT investigations
browser-github-release-downloads - Chrome extension for displaying github release downloads
google-unlocked - Google Unlocked browser extension uncensor google search results
SnappySnippet - Chrome extension that allows easy extraction of CSS and HTML from selected element.
monolith - ⬛️ CLI tool for saving complete web pages as a single HTML file
LinkAce - Your self-hosted bookmark archive. Free and open source.
surfingkeys-conf - A SurfingKeys configuration which adds 130+ key mappings for 20+ sites & OmniBar search suggestions for 50+ sites
simple-translate - WebExtensions for translating text on web pages