Readit News logoReadit News
paulirish commented on Web apps in a single, portable, self-updating, vanilla HTML file   hyperclay.com/... · Posted by u/pil0u
andai · 10 days ago
Thanks. Author mentioned TiddlyWiki as inspiration. But the whole point of TiddlyWiki was that it doesn't need a server right?

So I'm trying to understand the difference, the payoff. I understand that local web APIs are ass and you very quickly run into the need for a server.

But I'm wondering about the utility of combining the two approaches. It seems like a contradiction in terms. Here's a server to help you with your dev setup oriented around not needing a server.

I guess the main win would be cross device access? You have it online and you can edit it easily.

I'm editing my stuff on my phone in a text editor. And syncing it to my laptop with a sync app.

paulirish · 10 days ago
Turns out, the original TiddlyWiki used a java jar to handle the file persistence. (I remember it being so magically automatic, but recently investigated how it was done)
paulirish commented on Fighting with YouTube to show a preview image   shaneosullivan.wordpress.... · Posted by u/shaneos
paulirish · 14 days ago
So glad to find some like-minded folk who care about this! Nice post, Shane.

Thanks for calling out my research on this. Really glad you found it.

https://github.com/paulirish/lite-youtube-embed/pull/167 has my solution. Basically we only attempt the hqdefault.jpg and the sddefault.webp; no other ones. Based on my research this is (probably) the best solution that optimizes for both latency and coverage. Though, I could see switching the order of two in the future.

Pretty sure the oEmbed solutions folks are mentioning are only reasonable if you're doing this work server-side/eagerly. Obviously that changes things quite a bit.

paulirish commented on Do not download the app, use the website   idiallo.com/blog/dont-dow... · Posted by u/foxfired
notnmeyer · a month ago
i use spotlight to switch apps. having everything in a browser messes with that.
paulirish · a month ago
You can install webapps "as an app" which solves that problem... its own icon in the dock, cmd-tabable, etc. In Chrome this is under the "Cast, save, share" menu.
paulirish commented on Don't animate height   granola.ai/blog/dont-anim... · Posted by u/birdculture
JakeSc · a month ago
Great writeup. With LLMs doing an increasing amount of the coding now, it would be great for the browser or development environment to have built-in validations that enforce good performance. The coding agent (or human) would get direct, immediate feedback at development time that there's a performance threshold violation, at development time.
paulirish · a month ago
We're working on this within Chrome DevTools, similar to an MCP server with the signals you're describing.
paulirish commented on Yt-transcriber – Give a YouTube URL and get a transcription   github.com/pmarreck/yt-tr... · Posted by u/Bluestein
mckirk · a month ago
I've found the YT transcripts to be severely lacking sometimes, in accuracy and features. Especially speaker identification is really useful if you want to e.g. summarize podcasts or interviews, so if this project here delivers on that then it's definitely better than the YT transcripts.
paulirish · a month ago
An approach I've been using recently is to rely on pyannote/tinydiarize only for the speaker_turn timestamps, but prefer the larger model (or in this case YT's autotranscript) for the actual text.

Deleted Comment

paulirish commented on Yt-transcriber – Give a YouTube URL and get a transcription   github.com/pmarreck/yt-tr... · Posted by u/Bluestein
toomuchtodo · a month ago
It's a good call out. I leverage yt-dlp as a library for downstream tooling (archival of media to long term storage repositories), and always recommend folks rely on yt-dlp whenever possible due to the ecosystem of folks grinding to keep their extractors current. Their maintainers are both helpful and responsive.

(with that said, I do not want to diminish OP's work in any way; great job! "What I cannot build, I do not understand" - Feynman)

paulirish · a month ago
Same, yup. OP is indeed already using yt-dlp for the video download. (Then Whisper for transcribing, Ollama/lmstudio/OpenAI for summarizing)
paulirish commented on Yt-transcriber – Give a YouTube URL and get a transcription   github.com/pmarreck/yt-tr... · Posted by u/Bluestein
paulirish · a month ago
Can also just fetch the subs already in YouTube rather than retranscribing. eg:

yt-dlp --write-auto-subs --skip-download "https://www.youtube.com/watch?v=7xTGNNLPyMI"

Deleted Comment

u/paulirish

KarmaCake day4973July 13, 2008
About
javascript developer.

google chrome. web performance.

the web is the platform.

https://paul.irish

View Original