hattip
hono
Our great sponsors
hattip | hono | |
---|---|---|
9 | 41 | |
1,162 | 14,905 | |
4.5% | 18.3% | |
8.1 | 9.8 | |
5 days ago | 7 days ago | |
TypeScript | TypeScript | |
MIT License | 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.
hattip
- Hattip – An Express-compatible runtime for Cloudflare, Netflify, Vercel, etc.
-
React Server Components without any frameworks
Let's start up a new project and install these. We will use pnpm, as it is now the best and most loved choice. Also for quick setup, we will use Vite for the client side and HatTip for our backend handler for more convenient readable stream handling.
-
Choosing a backend API framework
HatTip - supports universal middleware and deployments, small & lightweight, seems promising
-
How is everyone working with web frameworks such as Express with TypeScript?
You'll probably like Hattip
-
FileKinds™ Proposal, rules for files and folders
To (optionally?) provide plugins on how a server should handle these files in a server framework like hattip
-
Using cookies
As we discussed before, Rakkas relies on HatTip for handling HTTP so we will use the @hattip/cookie package to manage cookies:
-
Creating a Twitter clone for Cloudflare Workers with Rakkas: Part 1
Then we should install the HatTip adapter for Cloudflare Workers. HatTip is a set of JavaScript libraries for building HTTP server applications that run on many platforms like Node.js, Cloudflare Workers, Vercel, Netlify, Deno, and more. Rakkas relies on it for serverless support.
-
Rakkas 0.6: Bleeding-edge React framework
Rakkas 0.6 is now built on HatTip, an HTTP server library that abstracts away the differences between various JavaScript runtimes building on the web standards like Request, Response, and streams. Rakkas already ran on Node, Vercel Serverless Functions, Netlify Functions, and Cloudflare Workers. HatTip integration adds support for Vercel Edge, and Netlify Edge. There's also preliminary support for Deno (including Deno Deploy). Bun support is work in progress.
-
Bun: Fast JavaScript runtime, transpiler, and NPM client written in Zig
HatTip[1] just added preliminary Bun support[2].
(HatTip's goal is to enable users (and library authors) to write universal server code that runs anywhere: Node.js, Edge, Deno, Bun, ...)
@Jarred: Curious to know what you think of HatTip!
[1]: https://github.com/hattipjs/hattip
hono
-
I used Cloudflare Workers and R2 as HTML generating service. It was so easy!
I used hono to implement worker.
-
Deploy Node.js applications on a VPS using Coolify
Hono - Ultrafast web framework for the Edges
-
Pitfalls of Deploying Hono Js App on Vercel
Hono is an ultrafast web framework for the edge and it's amazing. It's simple as express and the DX is mind-blowing. And now you can also serve JSX with it 🤯. Anyone in the industry for long enough knows that a setup like this can be quite tedious to manage and maintain. I might sound biased for Hono, and that's true, I love it ❤️.
-
HonoJS: Small, simple, and ultrafast web framework for the Edges
Please could a fellow HNer who has experience using this explain in simple terms what Hono on a Cloudflare Worker enables that one cannot already do with a vanilla worker?
The docs[0] are not instructive on this point.
[0] https://hono.dev
-
Building an High-Performance API with Next.js, Hono, and Cloudflare Workers
Hono, a powerful framework, is our secret sauce for crafting high-performance APIs. With its intuitive syntax and seamless integration with Next.js, Hono simplifies the process of optimizing API performance.
-
Let's build a screenshot API
Hono—a simple and fast framework for processing HTTP requests.
-
Day-1 of Getting an Paying Job
A good alternative of this can be - [Hono]https://hono.dev/
-
Hono v4.0.0
I agree that “fast, lightweight, web standards” isn’t much of a description but not too far down https://github.com/honojs/hono I did this:
> Hono … is a small, simple, and ultrafast web framework for the Edges. It works on any JavaScript runtime: Cloudflare Workers, Fastly Compute, Deno, Bun, Vercel, AWS Lambda, Lambda@Edge, and Node.js.
-
Using Hono with SvelteKit - Full type-safety with RPC
Hono offers good DX and a blazingly fast library to help you build your backend with native RPC embedded in its code. It has Zod support and it's written with TypeScript with very readable types so you can understand what's happening. It also supports Bun and a bunch of runtimes so you can run it everywhere. Check the documentation! It's also very helpful.
-
How to build a WhatsApp AI assistant
Initialize your hono project using bun:
What are some alternatives?
bun - A fast all-in-one JavaScript runtime [Moved to: https://github.com/oven-sh/bun]
Koa - Expressive middleware for node.js using ES2017 async functions
ublog - A Twitter clone running on Cloudflare Workers
nitro - Next Generation Server Toolkit. Create web servers with everything you need and deploy them wherever you prefer.
helmet - Help secure Express apps with various HTTP headers
nodejs-api-starter - 💥 Yarn v2 based monorepo template (seed project) pre-configured with GraphQL API, PostgreSQL, React, Relay, and Material UI. [Moved to: https://github.com/kriasoft/relay-starter-kit]
hello-rsc - React Server Component capable SSR using Vite
drizzle-orm - Headless TypeScript ORM with a head. Runs on Node, Bun and Deno. Lives on the Edge and yes, it's a JavaScript ORM too 😅
oauth
miniflare - 🔥 Fully-local simulator for Cloudflare Workers. For the latest version, see https://github.com/cloudflare/workers-sdk/tree/main/packages/miniflare.
prettier - Prettier is an opinionated code formatter.
graphql-starter-kit - 💥 Yarn v2 based monorepo template (seed project) pre-configured with GraphQL API, PostgreSQL, React, Relay, and Material UI. [Moved to: https://github.com/kriasoft/graphql-starter]