News for hackers. Stuff that matters.

laktek

Re:Ask HN: What are you working on? (September 2026) on Sunday September 13, 2026 @09:19PM (#49690650)
I'm currently working on https://avotoast.ai, an AI assistant for doing property research for Sydney, Australia.

After being frustrated with outdated & inaccurate data Claude used when I was trying to do some property research, I thought it'd be cool to build an MCP that can provide accurate property data. Then it evolved into a full web app + an AI assistant.

This was also an excuse for me to try DuckDB in a real project. All the API endpoints are powered through in-process DuckDB querying parquet files stored in disk.

Re:Head in the Zed Cloud on Tuesday November 11, 2025 @10:37AM (#45888505)
>It would be interesting if Supabase allows me to use that runtime without forcing me to use supabase, being a separated product on its own.

It's possible for you to self-host Edge Runtime on its own. Check the repo, it has Docker files and an example setup.

> I have full control of the code, I combine it with HonoJs and I can deploy it as a server or serverless.

Even with Supabase's hosted option, you can choose to run Edge Functions and opt out of others. You can run Hono in Edge Functions, meaning you can easily switch between CF Workers and Supabase Edge Functions (and vice versa) https://supabase.com/docs/guides/functions/routing?queryGrou...

> Having to choose between node, demo and bun is something that I do not want to do, I’m sticking with node and hopefully the runtimes would be compatible with standard JavaScript.

Deno supports most of Node built-in API and npm packages. If your app uses modern Node it can be deployed on Edge Functions without having to worry about the runtime (having said that, I agree there are quirks and we are working on native Node support as well).

Re:Head in the Zed Cloud on Monday November 10, 2025 @05:33PM (#45881873)
> Also think the time for a FOSS alternative is coming. Serverless without, virtually, cold starts is here to stay but being tied to only 1 vendor is problematic.

Supabase Edge Functions runs on the same V8 isolate primitive as Cloudflare Workers and is fully open-source (https://github.com/supabase/edge-runtime). We use the Deno runtime, which supports Node built-in APIs, npm packages, and WebAssembly (WASM) modules. (disclaimer: I'm the lead for Supabase Edge Functions)

Re:Three Weeks in Japan with a Toddler on Friday May 30, 2025 @06:41PM (#44140462)
I'm the author of the blog post. To add more context, kids have been living with their grandparents from birth (extended family home). And grandparents usually help with the feeding and sleeping routine. We trust them to take better care of our kids than a childcare center or an au pair (which most kids with working parents have to go through as early as 4-6 months).

I knew that sharing about kids on the internet invites judgments from strangers. However, parenting is a different journey for each person and cannot be measured by the same yardstick.

Re:Edge Scripting: Build and run applications at the edge on Friday November 08, 2024 @03:58PM (#42090423)
More than a year now. This allows us to offer our own built-in APIs like `Supabase.ai` https://supabase.com/blog/ai-inference-now-available-in-supa...
Re:Edge Scripting: Build and run applications at the edge on Friday November 08, 2024 @10:54AM (#42087760)
Waiting for Deno 2.1 LTS release :)
Re:Edge Scripting: Build and run applications at the edge on Friday November 08, 2024 @10:53AM (#42087748)
Nope, we currently have our own hosting platform, which runs the EdgeRuntime.
Re:Edge Scripting: Build and run applications at the edge on Thursday November 07, 2024 @03:33PM (#42080640)
Congrats on the launch! It's great to see more companies build serverless offerings on top of Deno.

I lead Supabase Edge Functions product, a similar offering built on top of Deno runtime too. We have open-sourced our runtime (https://github.com/supabase/edge-runtime), and it's self-hostable. It supports NPM, node built-ins, pluggable storage, and web sockets. We also have a built-in API for AI inference (https://supabase.com/blog/ai-inference-now-available-in-supa...)

Supabase Edge Runtime is easy to self-host (works great as a multi-threaded JS web server). We love community contributions :) Let us know if you would like to collaborate.

Re:Edge Scripting: Build and run applications at the edge on Thursday November 07, 2024 @03:24PM (#42080551)
I think the closest thing we got is the Default fetch export https://docs.deno.com/runtime/fundamentals/http_server/#defa..., which Cloudflare Workers, Deno Deploy and Supabase Edge Functions support.
There are no extra costs other than the what we'd normally charge for Edge Function invocations (you get up to 500K in the free plan and 2M in the Pro plan)
If you are building using Supabase stack (Postgres as DB with pgVector), we just released a built-in embedding generation API yesterday. This works both locally (in CPUs) and you can deploy it without any modifications.

Check this video on building Semantic Search in Supabase: https://youtu.be/w4Rr_1whU-U

Also, the blog on announcement with links to text versions of the tutorials: https://supabase.com/blog/ai-inference-now-available-in-supa...

Re:Edge functions: Node and native NPM compatibility on Wednesday December 13, 2023 @03:41PM (#38633848)
We have a cluster of Edge Runtime instances in each region. We run multiple edge functions within an instance using v8 isolates (Deno's core runtime is a wrapper around v8 isolates). This setup provides a good balance between cost and security. Other edge hosting providers like Cloudflare also follow a similar setup.
Re:Edge functions: Node and native NPM compatibility on Tuesday December 12, 2023 @04:11PM (#38618604)
I haven't tried Prisma myself, but hopefully this guide should work with Edge Functions with npm https://supabase.com/partners/integrations/prisma
Re:Edge functions: Node and native NPM compatibility on Tuesday December 12, 2023 @04:06PM (#38618534)
Most builtin modules should work (except for things like `vm` which we cannot safely sandbox in edge runtime). Deno has a good guide on the compatibility of built-in modules https://docs.deno.com/runtime/manual/node/compatibility

You can do: ``` import os from "node:os" console.log(os.hostname()) ```

and it should just work both locally and when deployed. No extra steps needed.

Re:Edge functions: Node and native NPM compatibility on Tuesday December 12, 2023 @03:23PM (#38617887)
Hey, thanks for sharing this on HN! I'm one of the Edge Functions developers at Supabase and co-author of the blog post. We are very excited about releasing npm support and looking forward to seeing how the community build awesome apps with the Supabase stack.

I am happy to answer any questions or receive feedback.

@doganugurlu Looks like Deno team implemented a fix https://denostatus.com/cllm0jzq219036bjottk03k2ac Are you still experiencing the issue?

We used to cache the modules locally, I will need to check if we made any configuration change. Can you kindly open an issue for Supabase CLI - https://github.com/supabase/cli/issues

> Oh, I had no idea that the functions routes were "wild card"! I don't think that's mentioned anywhere in the documentation, btw.

Good point! will update the docs.

> Sorry, I actually mean "import-maps": https://github.com/supabase/cli/issues/1338

I'll take a look at this issue. We've improved import map resolution in the last couple of CLI releases. But it looks like there are more edge cases.

Hey @cjonas, I'm a developer on Supabase Edge Functions team. We do have plans to improve the current database trigger behavior. Will share more updates on this in the coming months.

Can you explain what do you mean by template URLs? Do you mean route params like `/v1/functions/users/:id`? If so, you can use a framework like Oak[1] to handle them. Edge Functions will make the full path including querystring available to the router.

Also, you can use URLPattern API to match paths. Here's an example of RESTful API built using that: https://github.com/supabase/supabase/blob/master/examples/ed...

Source maps, is it broken during local dev or when you deploy the function? Also, by broken you mean in a stack trace the file / line numbers aren't accurate?

[1] https://github.com/oakserver/oak

Re:Supabase Auth: SSO, Mobile, and Server-Side Support on Thursday April 13, 2023 @05:01PM (#35562008)
Hey Andy,

If you use Supabase CLI to serve functions locally, you can use the `--no-verify-jwt` flag, ie. `supabase functions serve --no-verify-jwt` will skip JWT checks locally.

Is that what you're after? if you have any further issues with serving functions locally, can follow up on the support ticket.

Re:Supabase Edge Runtime: Self-Hosted Deno Functions on Wednesday April 12, 2023 @03:46AM (#35536248)
Yep, that sounds interesting. Feel free to share with us if you write a formal proposal. Would love to explore the options to provide better worker-to-worker communication options.
Re:Supabase Edge Runtime: Self-Hosted Deno Functions on Wednesday April 12, 2023 @03:42AM (#35536228)
Yes, this is something we are exploring for Edge Runtime. One cool development is AsyncLocalStorage now works on Deno via a polyfill [0]. We may enable a single node store on Edge Runtime using this. Also, there are some interesting development in Supabase platform to enable Edge Databases, which could also be an answer to this.

[0] https://github.com/denoland/deno/issues/7010#issuecomment-14...

Re:Supabase Edge Runtime: Self-Hosted Deno Functions on Tuesday April 11, 2023 @08:18PM (#35533509)
[Supabase Engineer & Author of the blog post]

What stands out for me about Deno over Node is its overall architecture.

1. It has a built-in permissions model [0] which gives end-user the control over what resources a script can access within a system.

2. As mentioned in the blog post, Deno runtime is extremely modular you can customize it per use case. This helps with security, performance and overall developer experience.

3. Deno has first-class support for Web Platform APIs, which reduces the need for reliance on third-party modules for simple tasks. A good example here is the native fetch module shipped with Deno. Unlike in Node, you don't end up with multiple modules implementing fetch.

4. Built-in tooling - Deno CLI has built-in tooling for formatting, linting, doc generation, benchmarking, etc. This is great for developer ergonomics, especially for people from Go and Rust backgrounds.

[0] https://deno.land/[email protected]/basics/permissions

Re:Supabase Edge Runtime: Self-Hosted Deno Functions on Tuesday April 11, 2023 @07:58PM (#35533352)
[Supabase engineer & Author of the blog post]

Hi Mark, hosted Supabase Edge Functions would still run on Deno Deploy, so those limitations would still exist. However, we plan to introduce file system access via integration with Supabase Storage. This is still a rough idea stage, maybe we'll have a solid answer in a couple of months :)

For dynamic imports, we haven't looked into it since Supabase users haven't requested it. If you can open an issue on Edge Runtime repo [0] and explain how you intend to use them, we can probably work on a solution.

[0] https://github.com/supabase/edge-runtime/issues

Re:Supabase Edge Runtime: Self-Hosted Deno Functions on Tuesday April 11, 2023 @04:59PM (#35531467)
[Supabase engineer & author of the blog post]

You can already use WASM modules within Edge Functions. We have an example on using WASM modules to generate OpenGraph images - https://github.com/supabase/supabase/tree/master/examples/ed...

We are also exploring ways to create functions in WASM-supported languages and run them directly on Edge Runtime. We expect this would be easier WasmGC[0] is shipped and Deno's WASI support improves.

[0] https://chromestatus.com/feature/6062715726462976

Older »