Tearline – wrap any HTML in one tag, get a thermal receipt and a PNG
One custom element that renders anything you wrap in it as a thermal receipt, then exports it as a PNG. Zero dependencies, no build step, MIT.
What it does
One custom element renders whatever you wrap in it as a thermal receipt — then hands your users a PNG of it. No canvas API, no template language, no image service. Markup goes in, paper comes out. Headings, rules, tables, lists, images. If it renders in HTML it prints on paper — you are not learning a receipt DSL. One call turns the receipt into an image, at any scale, ready to post. The paper is styling wrapped around your markup, so everything a browser does with text still works. The torn edge and the barcode are generated from a seed, so a receipt renders identically every time — and the export matches what your user actually saw. It is a custom element. React, Vue, Svelte, Astro, or a…from tearline.kynth.studio
Does the same job
all alternatives →



- IMI made a Chrome extension to export web element to code2025 · copyui.online · ▲5
Recently I'm working on CopyUI which is an extension to copy UI element from websites and export html(or jsx) and css(or tailwind). I'm building this tool in order to create better landing pages because I'm really not good at layout and colors. So I hope to learn from others' design and innovate later, not to simply replicate.
- CEChrome extension that extracts HTML+CSS from an element to inline style2022 · chrome.google.com · ▲7
Hi there. I spent the last couple months building this chrome extension to scratch my own itch. It allows you to extract a snippet of HTML along with its styles and export to inline styles or JSX. It’s not perfect and doesn’t work on every site. There is class support but I am still working on it along with some other cool features. Feedback is appreciated.
More life & fun this month
the category →- TL
Life & fun · 10d ago · louisabraham.github.io

Photosynthesis fires two of your iPhone
Life & fun · 28d ago · photosynthesis.camera
SoloUno▲310Take control of hair pulling, nail biting & skin picking
Life & fun · 28d ago · solouno.io

Scroll through all 43,252,003,274,489,856,000 reachable Rubik's Cube permutations.
Life & fun · 26d ago · everycube.alen.is


Hi HN, I built Eigendrum, a web tool that solves the 2D wave equation for arbitrary shapes so you can hear what they sound like as drums. How it works: * Solves -∇²u = λu using finite element analysis (Kφ = λMφ) on a triangle mesh. * Validated to <0.1% error against closed-form solutions for circles (Bessel zeros) and rectangles. * Sound model factors in strike location, Rayleigh damping, and mallet width. * Includes Kac drums I & II to demonstrate identical sound spectra from different geometries. * No frameworks, build steps, or dependencies. Repo and tests:…
Life & fun · 27d ago · baselashraf81.github.io
Launched alongside, August 2026
the whole month →- TL
Life & fun · 10d ago · louisabraham.github.io


- SA
Hello HN! I found that picking out plausible but diverse skin tones for my digital art and game development projects was kind of difficult, and I got curious about if there was a way to define a color space that made it easy. I've built a color picker and procedural generation algorithm based on the space as well as a bunch of other fun js features and demos throughout the page that use the equations. If you find it interesting, I have lots of explanations of how I built it and what properties the space has. The methodology might be a bit shaky, but hopefully the result is as helpful for…
Life & fun · Aug 2026 · toneyalexander.github.io


I trained a 125M-parameter transformer to autocomplete piano performances in real time (~108 notes/sec on an iPhone 15). The idea is basically GitHub Copilot or Tabnine, except instead of prompting it with code, you prompt it by playing a few notes on a MIDI piano. The model then continues what you played, entirely on-device. The app is free if anyone wants to try it. Happy to answer questions about the model, training, Core ML, or the many things that didn't work.
AI · 17d ago · simedw.com