u/Accurate-Interview92

[AskJS] Screenshot API that renders Heavy JS websites properly

Spent the last week building a small screenshot/PDF API in Node.js mostly because Puppeteer kept making simple things weirdly painful in production.

Things that sounded easy:

  • take screenshot of URL
  • export page as PDF
  • done

Things that actually happened:

  • fonts/icons randomly not loading
  • cold starts killing response times
  • memory spikes on heavier pages
  • pages “finished loading” but JS content still missing
  • different rendering behavior between sites/frameworks

One thing that surprised me most was how much browser reuse/pooling helped compared to launching a fresh browser per request.

Also started testing short-term caching for repeated renders and it reduced a lot more load than expected. and JS heavy website those were really hard to deal with but slowly render became consistent and it got better

Still very much a beta/experiment right now, but it’s been interesting going deeper into browser automation/rendering infrastructure than I originally planned 😅

Curious what the most annoying Puppeteer/Playwright issue people here have dealt with is.

reddit.com
u/Accurate-Interview92 — 3 days ago
▲ 1 r/nocode

Screenshot API thats actually usable !!

Quick update from the screenshot API experiment: RenderKIT

After a week of debugging browser chaos, we’re finally getting somewhere interesting.

Spent the last couple days improving:

  • browser pooling
  • smarter caching
  • cookie popup removal
  • basic ad cleanup
  • render timing

Latest internal tests are averaging around ~148ms on cached renders with ~98% successful captures across our current test set.

Still refining a lot though, especially around:

  • dynamic JS-heavy pages
  • weird font loading edge cases
  • pages that keep updating after initial load

Honestly didn’t expect browser rendering to become this deep of a rabbit hole 😅

It started as “just take a screenshot of a webpage” and somehow turned into managing headless browsers like tiny unstable servers.

If anyone here has dealt with large-scale rendering/screenshot systems before, I’d genuinely love to know:
what ended up being your biggest bottleneck long term?

reddit.com
u/Accurate-Interview92 — 4 days ago

Screenshot API that Renders everything perfectly

About a week ago I started building RenderKit a screenshot/PDF API for one of my own projects because I got tired of constantly dealing with Puppeteer issues in production.

At first I genuinely thought:
“this should take a day or two.”

Instead I ended up spending the week debugging things like:

  • broken fonts/icons
  • cold starts
  • random crashes on heavier pages
  • timing issues on JS-heavy sites
  • inconsistent PDF rendering

So I kept improving it piece by piece and now there’s finally a working beta version live.

Right now it can:

  • generate screenshots from URLs
  • HTML → PDF
  • handle basic caching for repeated renders
  • work through a simple API

Still rough around the edges, but it’s usable enough that I’m opening it up for testing now.

A lot of the improvements so far actually came from people sharing their own rendering/screenshot horror stories 😅

Would love to know:
What’s the biggest pain point you’ve had with screenshot or PDF generation tools/APIs in your workflows?

Happy to give beta access/free credits to people who want to test real use cases too.

reddit.com
u/Accurate-Interview92 — 5 days ago
▲ 2 r/nocode

After a Week of Building : RenderKit API

A week ago, I was building a small side project and needed a simple way to generate screenshots + PDFs from URLs/HTML.

We thought it would be easy.

Then Puppeteer started fighting back 😅

Cold starts, broken fonts, random crashes on heavier pages, weird rendering issues on some no-code dashboards… ended up spending way more time fixing browser problems than actually building our project.

So we started putting together a tiny API for ourselves on Vercel just to simplify the whole process.

What started as:
URL → screenshot

slowly turned into:

  • screenshot generation
  • HTML → PDF
  • smarter wait handling
  • caching repeated renders
  • trying to make outputs more reliable on dynamic sites

We’re slowly perfecting it; it’s been surprisingly useful for automations and no-code workflows already.

A few things we’ve tested it with:

  • generating client reports as PDFs
  • website preview screenshots
  • automation flows
  • simple OG image generation
  • exporting dashboards/pages automatically

Honestly curious:

If you use no-code tools/automations, what would you want most from a screenshot or PDF API?

Trying to figure out what actually matters before we keep building deeper into it.
We are open for BETA testing

reddit.com
u/Accurate-Interview92 — 6 days ago

The biggest challenge to asteroid mining may not be technology — but finance

Just published my first independent research paper on SSRN:

"Asteroid Mining and Capital Markets: A Long-Term Analysis of Economic Viability and Commodity Market Implications”

The paper tries to approach asteroid mining less from a sci-fi angle and more from a capital markets / economic framework perspective.

Main areas explored:

  • long-term DCF modeling (2035–2100)
  • launch cost decline assumptions
  • platinum-group metal market dynamics
  • commodity supply shock scenarios
  • whether traditional valuation models even work for frontier industries like this

One of the biggest conclusions I kept running into was this paradox:

If asteroid mining actually succeeds at scale, the increase in platinum-group metal supply could suppress prices enough to weaken the profitability of future extraction itself.

So the project may become technologically feasible before it becomes financially attractive under conventional capital market frameworks.

The paper also explores whether asteroid mining should be viewed less as a traditional mining business and more as long-term space infrastructure.

Would genuinely appreciate thoughts or criticism from people in:

  • finance
  • commodities
  • economics
  • aerospace
  • planetary science

SSRN : Link

reddit.com
u/Accurate-Interview92 — 8 days ago
▲ 1 r/nocode

Small update from our screenshot API experiment: Pint API

We started testing repeated renders/caching this week and it honestly changed performance more than we expected.

A lot of pages people screenshot aren’t actually changing every second, but most APIs still fully re-render them every request. We noticed some URLs were getting hit dozens of times with the exact same viewport/settings.

So we tried:
same URL + same params + short time window = serve cached render instead of launching a fresh browser.

The speed difference was pretty noticeable, especially on heavier JS sites.

Still figuring out edge cases though:

  • dynamic dashboards
  • auth pages
  • sites with delayed animations
  • pages that partially update after initial load

The funny part is we originally built this because Puppeteer kept randomly ruining our weekends with memory spikes and broken renders 😅

Now we’re weirdly deep into browser pooling, wait strategies, caching layers, and trying to stop pages from exploding when a font CDN takes too long.

Curious what people here prioritize more in screenshot APIs:

  • raw speed
  • rendering accuracy
  • anti-bot handling
  • pricing
  • PDF quality
  • reliability over long runs

Feels like everyone values different things once they hit production scale.

Lastly, I would love to see other Dev try it and give their opinion so please reach out if you are interested in testing (Beta Version)

reddit.com
u/Accurate-Interview92 — 9 days ago
▲ 3 r/nocode

Screenshot API but Better

So I was messing around with generating screenshots/PDFs from websites for one of our side projects and honestly… dealing with Puppeteer in production was way more painful than we expected.

Cold starts, random crashes, pages loading weirdly, fonts breaking, memory issues, all the fun stuff.

We tried a few existing screenshot APIs too and they worked, but a lot felt either:

  • too expensive at scale
  • overly complicated
  • or weirdly restrictive for simple use cases

So we started hacking together our own small API on Vercel just to make things easier for ourselves.

At first it was literally:
URL → screenshot → done.

But after testing it more we realized there’s actually a lot we could improve:

  • smarter wait handling
  • cleaner PDFs
  • faster repeated screenshots through caching
  • better dev experience/docs
  • simpler API responses

Right now we’re mainly experimenting and seeing if this is useful outside our own projects.

Curious:
What’s the MOST annoying thing you’ve dealt with when generating screenshots/PDFs programmatically?

Would genuinely love to hear horror stories before we keep improving this lol

reddit.com
u/Accurate-Interview92 — 12 days ago

Just published my first independent working paper on SSRN:

“Asteroid Mining as an Investment Thesis: Financial Viability, DCF Modeling, and Market Implications to 2100.”

The paper tries to approach asteroid mining less from a sci-fi angle and more from a capital markets perspective:

  • long-horizon DCF modeling
  • launch cost decline assumptions
  • commodity market impacts
  • whether traditional valuation frameworks even work for projects like this

One conclusion I kept running into was interesting:

Even if asteroid mining becomes technically feasible, traditional finance may still struggle to justify it economically due to discounting, long timelines, and commodity price feedback effects.

I also explored the paradox in which successful large-scale mining could increase PGM supply to the point that future extraction becomes unprofitable.

Still improving the paper and would genuinely appreciate thoughts/criticism from people in finance, commodities, space, or economics.

SSRN Abstract - 6719101

reddit.com
u/Accurate-Interview92 — 16 days ago