HackerTrans
TopNewTrendsCommentsPastAskShowJobs

johnspurlock

no profile record

Submissions

Deno Sandbox

deno.com
533 points·by johnspurlock·5 months ago·174 comments

tschema – A tiny (<1kb) utility to build JSON schema types

github.com
3 points·by johnspurlock·2 years ago·0 comments

Write Once, Run on Cloudflare, Deno Deploy, AWS Lambda, Supabase Edge Functions

github.com
2 points·by johnspurlock·2 years ago·1 comments

esbuild as an edge service (on Deno Deploy)

esb.deno.dev
2 points·by johnspurlock·4 years ago·0 comments

Denoflare ♥ Cloudflare R2

denoflare.dev
3 points·by johnspurlock·4 years ago·0 comments

comments

johnspurlock
·5 months ago·discuss
"Over the past year, we’ve seen a shift in what Deno Deploy customers are building: platforms where users generate code with LLMs, and that code runs immediately without review. That code frequently calls LLMs itself, which means it needs API keys and network access.

This isn’t the traditional “run untrusted plugins” problem. It’s deeper: LLM-generated code, calling external APIs with real credentials, without human review. Sandboxing the compute isn’t enough. You need to control network egress and protect secrets from exfiltration.

Deno Sandbox provides both. And when the code is ready, you can deploy it directly to Deno Deploy without rebuilding."
johnspurlock
·2 years ago·discuss
It's freely available to anyone - the data (after securely hashing IPs) is provided as a service for everyone in the open podcast system.

There is a bit about the data api in the privacy policy [1]. Feel free to engage over on the github repo if you are blocked on anything or to chat about it [2].

[1] https://op3.dev/privacy [2] https://github.com/skymethod/op3/discussions
johnspurlock
·2 years ago·discuss
Yea that part got lost in translation.

The OP3 API is completely free to use: https://op3.dev/api/docs
johnspurlock
·2 years ago·discuss
Nothing

You stick this prefix in front the audio enclosure file urls inside your rss feed
johnspurlock
·2 years ago·discuss
From the homepage [1]

> We've been running smoothly since Sept 2022, now measuring over 15 million podcast downloads every month across more than 1600 shows

Knock wood, but OP3 podcast redirecting has never had an single outage since it launched in Sept 2022.

Turns out Cloudflare Workers do a great job at simple http redirecting via their hundreds of edge locations, even during extended outages of the other parts of their stack.

[1] https://op3.dev
johnspurlock
·2 years ago·discuss
Podcasting is open in many ways, but RSS-based podcast apps have no idea what shows are "hot in cleveland" or have related listener bases, etc outside of their own app.

When shows start using OP3, they open up these (listener privacy-preserving) stats to _any_ app, and set themselves up for future discovery / inbound opportunities on this basis.
johnspurlock
·2 years ago·discuss
> But what is the source? Who is typically hosting these? Audio is easier to distribute than video, but aren’t most podcasts hosted on a handful of large services?

Top Podcast Hosting Companies by Episode Share: https://livewire.io/podcast-hosts-by-episode-share/

Top Podcast CDNs by Episode Share: https://livewire.io/podcast-cdns-by-episode-share/
johnspurlock
·2 years ago·discuss
Denoflare now has experimental support (v0.6.0+) for deploying ESM-based Typescript workers (including Wasm) not only to Cloudflare Workers, but three other edge runtimes - without wrangler, deployctl, the supabase cli, or the aws sdk
johnspurlock
·3 years ago·discuss
In this case, they've also documented the remote connection protocol: "KV Connect" https://github.com/denoland/deno/tree/main/ext/kv#kv-connect

I kicked the tires on this with a pure TS implementation of the protocol called kv-connect-kit that gives you the KV client api in any Javascript runtime (including Cloudflare workers, which does not have anything Deno namespace related)

- github: https://github.com/skymethod/kv-connect-kit

- npm: https://www.npmjs.com/package/kv-connect-kit

- deno/x: https://deno.land/x/kv_connect_kit

- demo: https://keyspace.deno.dev/

protocol seems to works as described on the tin, and it would be pretty straightforward to write another backend
johnspurlock
·3 years ago·discuss
Yes.
johnspurlock
·3 years ago·discuss
firesky.tv dev here - do you have javascript enabled?

If so, you should see everything posted to Bluesky in one view, like a massive chatroom.

Use the filter button to monitor for keywords/accounts etc. To me, this is probably the more long-term useful and non-brain-destroying use of the site.

Very much inspired by Twitter in the early days
johnspurlock
·4 years ago·discuss
Agree regarding tooling.

So much so that I wrote Denoflare (https://denoflare.dev/) to make writing Cloudflare Workers using standard Deno a breeze: no wrangler, toml, webpack, npm etc required
johnspurlock
·4 years ago·discuss
Deno has a built-in repl

https://deno.land/manual/tools/repl