frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: <15MB Local-first Interactive LaTeX Scratchpad in the Browser

https://telox.dev/app/scratchpad/
2•eigenblake•3h ago
I am working on a very modular typesetting engine called TeLoX, intended as a superset of the capabilities (of at least) XeTeX and pdfLaTeX, written in Rust. The main goals are modularity and speed (which we know sometimes fight each other unless we try to be principled about it). Today I wanted to demonstrate these diegetic interactive sliders that control values within in LaTeX from the browser (kinda like marimo).

This isn't meant to be a complete editor like quicklatex and texlyre -- just a tiny playground that loads quickly enough and responds interactively to see how good I can get the typing experience to be. Package support is the weakest link right now so lots of reasonable LaTeX you type up will fail. Increasing coverage fights against fast load times, and so I'll add some 'code splitting' -- I can make the editor dynamically fetch cached blobs for the most common $k$ packages and see how much time that buys me. After I add support for Lua or some other simple expression language, seems like you could make some really beautiful receipts/calculators fairly easily.

The other interesting thing you'll notice is that clicking and dragging on text selects the associated input text really accurately, down to the word. I have an art project that I was working on that was blocked by this exact issue -- being unable to correctly attribute a click back to the exact word that generated it (essentially an interactive storybook, WYSIWYG computational notebook with diegetic inputs). That's now unblocked. I wanted to make a choose-your-own adventure game that takes place _in_ a book on the web.

This whole thing is quite difficult, but I think it's worth it. I know it's an ambitious notion to bring arbitrary support for arbitrary LaTeX to arbitrary devices, but it feels like it's leading somewhere interesting.

Desktop gives the best experience for now, and even still it loads slower than I'd like at ~2.5 sec on cold boot. I should probably default mobile to view mode. A PWA version, bookmarklet support for typesetting the current page, etc, all possible, not started yet. I'm most interested in optimizing my in-memory representation first, and if that's not enough, I'd make a lexical dependency tracker for the TeX interpreter under the hood and deal with mutations/overwriting in a sensible way, possibly svelte style. Like I said, a lot of work. Sharing now before my semester kicks in and my free time is gone. "Baby steps," as they say.

Show HN: Is It Greg?

https://github.com/antoineleclair/is-it-greg
27•antoineleclair•1h ago•8 comments

Show HN: Exploring the intersection of prediction markets and social media

https://www.thevidmarket.com/
4•ryanpere2298•1h ago•0 comments

Show HN: Bipluk, Open-source browser Web MIDI librarian for vintage synthesizers

https://github.com/maxcomperatore/bipluk.com
2•halfradaition•51m ago•0 comments

Show HN: Dllog – Replay debug logs when an operation fails

https://github.com/arhuman/dllog
2•doolta•51m ago•0 comments

Show HN: I made a tiny MoE/Engram viz tool

https://sw-ml-study.github.io/moe-microscope/
2•softwarewright•1h ago•0 comments

Show HN: Dep-radius, know which dependency updates touch your code

https://www.npmjs.com/package/dep-radius
3•imadjourney•4h ago•0 comments

Show HN: Spikeforge

https://spikeforge.net/
3•a0174•3h ago•0 comments

Show HN: I made an automated day-by-day itinerary organizer for my trip to Spain

https://petrelvoyage.com/app
6•desktopentree•5h ago•4 comments

Show HN: <15MB Local-first Interactive LaTeX Scratchpad in the Browser

https://telox.dev/app/scratchpad/
2•eigenblake•3h ago•0 comments

Show HN: Demorta – Create interactive demos. Don't just describe your product

https://demorta.com/
2•zcchriti•3h ago•1 comments

Show HN: Swobu – Local LLM Switchboard You Can Share over HTTPS

https://github.com/swobuforge/swobu
2•metrofun•4h ago•1 comments

Show HN: What Just Pinged Me?

https://whatjustpingedme.com
4•furyofantares•5h ago•0 comments

Show HN: SF Title Alert

https://sftitlealert.com
3•arkadiyt•5h ago•0 comments

Show HN: Vehla – the AI command center for macOS

https://vehla.app/
3•ibuhs69•6h ago•0 comments

Show HN: VibeWorld – a shared terminal world for developers and scientists

https://github.com/SorBalda/vibeworld
5•sorbalda•7h ago•1 comments

Show HN: Kibble – a reader for AI news, tutorials, code and models

https://www.kibblebites.com/app/
6•syedmubarak088•7h ago•0 comments

Show HN: Bodily Oddities

https://vester.si/bodily-oddities/
334•vesterde•3d ago•211 comments

Show HN: Surraura – audio on your Mac in a simulated environment (Helps my ADHD)

2•jahala•9h ago•0 comments

Show HN: ResolveHQ – A Helpdesk Built on Cloudflare Workers, D1, R2 and Queues

https://github.com/mirza-rizvi/ResolveHQ
71•mirza_rizvi•2d ago•25 comments

Show HN: Everything a web page can learn about you, in plain English

https://sessioncontext.org
17•oddurs•1d ago•9 comments

Show HN: See Sounds on Your Webcam

https://soundmap.darebuild.com/
22•jimhi•3d ago•7 comments

Show HN: Simpleboot and Easyboot

https://gitlab.com/bztsrc/easyboot
4•skrellm•11h ago•0 comments

Show HN: Switcheroo – manage logins for 10 CLIs like Vercel, Codex etc.

2•ftchd•4h ago•1 comments

Show HN: I built my own knowledge graph from the code AI writes

https://github.com/aeroscissorz/learnlance/
6•aeroscissorz1•11h ago•4 comments

Show HN: Godot and Rust based multiplexer (terminal panes and more)

https://github.com/godot-pty/gpty
95•1nv1n•2d ago•48 comments

Show HN: Deeplearning from Scratch in 1400 Lines In my own Programming Language

https://github.com/NoSavedDATA/Neve_benchmarks
5•nosaveddata•12h ago•1 comments

Show HN: What If Donut.c but with Any ASCII Art

https://asdesai.com/blog/how-fetch-works/
17•areofyl•1d ago•2 comments

Show HN: I Built a CLI for Proton Mail, Drive, Calendar, Pass and Contacts

https://github.com/roman-16/proton-cli
3•Wavum•14h ago•0 comments

Show HN: What if the speed of light was 5 km/h?

https://rivendell.dmitrybrant.com/relativity/
623•dmitrybrant•4d ago•283 comments

Show HN: Hacker News, without AI

https://hcker.news/?ai=exclude
205•postalcoder•2d ago•88 comments