deploy_feedback
miniflare
Our great sponsors
deploy_feedback | miniflare | |
---|---|---|
55 | 19 | |
73 | 3,667 | |
- | 0.7% | |
2.2 | 7.2 | |
about 1 year ago | about 1 month ago | |
TypeScript | ||
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
deploy_feedback
-
Show HN: Deno Subhosting is now self-service
Hey all, Andy from the Deno team here. We're excited to share with you Deno Subhosting, an easy way to extend your platforms functionality by securely running untrusted JavaScript written by your users.
When we first launched [Deno Deploy](https://deno.com/deploy) in 2021, we were surprised at the volume of requests from companies about getting access to the APIs needed to run Deno Deploy. Many companies wanted to give their users the ability to write custom logic in their app, but setting this up in the cloud presents security concerns and a ton of infra work/maintenance.
We realized that there was an opportunity for Subhosting to solve a larger problem, which is allowing companies to easily and securely run custom code written by their users, without the hassle of maintaining said infrastructure.
Though we do have a few subhosting customers (Netlify being one of them), this launch makes our Subhosting product self-service, so any development team interested in extending their platform via their users' custom code can do so by [signing up](http://dash.deno.com/subhosting/new_auto) and [reading our docs](https://docs.deno.com/deploy/manual/subhosting). We have [an updated pricing model for Subhosting](https://deno.com/deploy/pricing?subhosting) as well, including a generous free tier fit for kicking the tires and building a proof-of-concept.
We'd love to get your feed back. Have you ever talked to your co-workers about allowing external devs to "have at it" with your platform? What would it look like to unlock the final 10% for your top customers? How have you approached this problem in the past?
Thanks for reading and the Deno team will be responding to comments!
[Read the announcement blog post.](https://deno.com/blog/subhosting)
-
Run Bun Run! Building an AWS CDK Template with Bun
That means we donβt need to transpile the Typescript code to ESM or CJS. Currently, only Deno Deploy can run your Typescript function out of the box. However, in order to keep the code small, we still need some sort of bundling. Luckily, Bun is also a bundler π
-
Deno 1.36
What type of apps do you code for your day-job? (I program for fun and curiosity, so that is why I ask that lame question.)
Do you use node.js? Deno is brought in part by the Node.js creator, Ryan Dahl, who wanted to fix/improve a lot of things he didn't like in node.js.
They also have "Deno Deploy" (with a free tier) to run your code on different servers scattered throughout the globe: https://deno.com/deploy
One of the reasons I love the `deno` executable is you can use `import` statements in your code and then tell `deno` to merge everything into a single .js file. I would then take that and publish it to Cloudflare Workers. I know you can do this with node.js and a bunch of tools, but it is so much simpler with `deno`.
-
Moving Fast: A Retrospective on Trunk-based Development
The online version of DocTrack is hosted through Deno Deploy and is accessible here.
-
Supabase edge functions deploy to 35 regions!
It runs on https://deno.com/deploy which runs on gcp at the moment but my understanding is that the underlying cloud provider could change at any time.
-
Ask HN: Is Deno Ready for Prime Time?
For deployment Deno offers it's own service, Deno Deploy:
Disclaimer: Haven't used it yet.
-
supabase edge functions
Deno functions. Its different than docker containers that auto scale. https://deno.com/deploy
-
Supabase Edge Runtime: Self-Hosted Deno Functions
One of the biggest annoyances with Deno deploy/functions is that there is no way to store any data. This would be very useful to e.g. cache an auth token, store a key/value pair, etc. See also: https://github.com/denoland/deploy_feedback/issues/110
Is any work being done to fix this? Or is this out of scope currently?
- Why we added package.json support to Deno
-
Using Solid Start with GitHub pages
One of the valuable features of Solid Start is that you can use so-called "adapters" to completely change the output into something deployable basically everywhere that serves pages and with quite a lot of options: there are adapters for amazon web services, cloudflare pages and workers, deno deploy, netlify, standard node server (the default), vercel, and static deployment - the latter allows us to build something that we can put on github pages.
miniflare
- [AskJS] Has anybody implemented and compiled ServiceWorker specification to a standalone executable?
-
A better way to set up a Cloudflare worker project locally with Miniflare
Recently Cloudflare introduces Miniflare. As its name suggests, Miniflare is a feature-rich but miniature version of Cloudflare worker. Miniflare is a simulator that provides an environment for developing and testing Cloudflare worker scripts locally. Miniflare is written in typescript and supports most of the Cloudflare worker features like the KV database, durable objects, WebSockets, etc.
-
[AskJS] Is there an JavaScript engine agnostic server module that can be imported into Bun, QuickJS, Deno, and Node.js?
Another implementation of the above is Cloudfare workers you might be capable of grasp some ideas from here https://miniflare.dev
- Ask HN: What cloud provider are you using for new projects?
-
Workerd: The Open Source Cloudflare Workers Runtime
Is there an ETA on Miniflare v3? Ran into a problem recently using overlapping keys with forward slashes as they were not sanitized properly: https://github.com/cloudflare/miniflare/issues/167
-
Part 2: KV store
The KV API is only available on Cloudflare Workers. But, during development, Rakkas runs our app on Node.js. Fortunately, the Miniflare project has a KV implementation for Node. The other two packages that we've installed (@miniflare/kv and @miniflare/storage-memory) are what we need to be able to use the KV API during development. Let's create a src/kv-mock.ts file and create a local KV store to store our ublog posts ("twits") while testing:
-
Web Workers are the Future! π
I used hono (a wrapper around miniflare) to handle some of the boilerplate around request and routing logic. It's also refreshingly fast! π₯
-
Deploy a GitHub Application to Cloudflare Workers
The simple explanation is that I'm proposing use of the Service Worker API. Cloudflare offers a flat, free, 100k requests a day if you can keep it cutting edge, has local development and testing options with miniflare and a key/value (KV) store.
-
Serverless Remix Sessions with Cloudflare Pages
When we run the dev script, this will ensure that the local runtime environment Miniflare will bind a KV with the name sessionStorage to our Pages function.
-
Show HN: Slshx β React-Inspired Discord Commands on Cloudflare Workers
Slshx is a library for building strongly-typed Discord commands (https://discord.com/developers/docs/interactions/application...) that run on Cloudflare Workers (https://workers.cloudflare.com/), using a React-inspired syntax (hooks and JSX). It supports all Discord command types/options, autocomplete and interactive message components. During development, it automatically deploys your commands whenever you change your code.
I created this because I think Cloudflare Workers are a great fit for hosting Discord commands, but there wasn't an easy way to get started that had a fun development experience. I also wanted to see what a Miniflare-first (https://github.com/cloudflare/miniflare) library could look like.
What are some alternatives?
deno - A modern runtime for JavaScript and TypeScript.
wrangler-legacy - π€ Home to Wrangler v1 (deprecated)
neon - Neon: Serverless Postgres. We separated storage and compute to offer autoscaling, branching, and bottomless storage.
krustlet - Kubernetes Rust Kubelet
jose - JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes.
hono - Fast, Lightweight, Web-standards
deno-lambda - A deno runtime for AWS Lambda. Deploy deno via docker, SAM, serverless, or bundle it yourself.
cloudflare-worker-github-app-example - A Cloudflare Worker + GitHub App Example
fresh - The next-gen web framework.
relay-starter-kit - π₯ Monorepo template (seed project) pre-configured with GraphQL API, PostgreSQL, React, and Joy UI. [Moved to: https://github.com/kriasoft/graphql-starter-kit]
blueboat - All-in-one, multi-tenant serverless JavaScript runtime.
examples - Serverless Examples βΒ A collection of boilerplates and examples of serverless architectures built with the Serverless Framework on AWS Lambda, Microsoft Azure, Google Cloud Functions, and more.