Skip to content

Commit

Permalink
Add some marketing bullshit
Browse files Browse the repository at this point in the history
  • Loading branch information
tireymorris committed May 10, 2024
1 parent 572fc4c commit bf2cdd1
Showing 1 changed file with 52 additions and 10 deletions.
62 changes: 52 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,42 @@ hyperwave is a server-side framework for building web applications.
- ergonomic: best tooling of modern tooling combined with rock solid app architecture
- portable: compile a binary to deploy anywhere

### Setup
## Why choose hyperwave?

`bun install && bun run src/db.ts && bun dev`
### Streamline your workflow

Visit port 1234 and edit `server.tsx`
- **Simplify**: hyperwave includes tooling thoughtfully chosen to cut through unquestioned complexity.
- **Rich UX**: Utilize htmx, tailwind, and hyperscript to manage client-side interactions within your HTML effortlessly.

### Boost performance

- **Faster load times**: Optimized payloads ensure quick loads, even on constrained networks.
- **Mobile optimized**: Enhance user experience on mobile with efficient, lightweight applications.

### Improve developer experience

- **Ease of use**: Immediate productivity with familiar tools like Tailwind CSS.
- **Less code**: Minimize debugging with fewer lines of code for regular tasks.

### Simplified deployment

- **One-click deployment**: Compile your entire project into a single binary for easy deployment.

### Reduce costs

- **Resource efficiency**: Smaller payloads and optimized server use help cut operational costs.
- **Scalable savings**: As your user base grows, the benefits of reduced resource use become even more significant.

---

### Demo
Choosing hyperwave means embracing a smarter way to develop web applications,
where ease of use, performance, and developer experience go hand in hand.

### Setup

`bun install && bun run src/db.ts && bun dev`

https://github.com/tireymorris/hyperwave/assets/3528600/ade1b785-c1b9-4bf8-be2b-3b07f2ae17f7
Visit port 1234 and edit `server.tsx`

---

Expand Down Expand Up @@ -57,20 +82,37 @@ app.get("/", ({ html }) =>

Build an executable for your current architecture with `bun run build`

`PORT` environment variable is available if needed (default 3000)
`PORT` environment variable is available if needed (default is 1234)

Note: deploy `public/` with the executable, it contains the generated UnoCSS build.

---

### Components

- [Bun](https://bun.sh/) provides the bundler, runtime, test runner, and package manager.
- [bun](https://bun.sh/) provides the bundler, runtime, test runner, and package manager.
- [SQLite](https://bun.sh/docs/api/sqlite) is production-ready and built into Bun.
- [Hono](https://hono.dev) is a robust web framework with great DX and performance
- [UnoCSS](https://unocss.dev/integrations/cli) is Tailwind-compatible and generates only the styles used in application code.
- [HTMX](https://htmx.org/reference/) gives 99% of the client-side interactivity most apps need.
- [hono](https://hono.dev) is a robust web framework with great DX and performance
- [unoCSS](https://unocss.dev/integrations/cli) is Tailwind-compatible and generates only the styles used in application code.
- [htmx](https://htmx.org/reference/) gives 99% of the client-side interactivity most apps need.
- [hyperscript](http://hyperscript.org) is a scripting library for rapid application development.
- [zod](https://zod.dev/) is a powerful runtime validation library.

---

### Benefits and takeways

- **Why bother switching to hyperwave?**
- Drastically reduces time from idea to rendered UI
- Very little cognitive friction to creating something new, after initial learning curve
- **Speed / performance benefit**
- hyperwave is designed to generate the smallest possible payloads
- Deployment is as simple as compiling and running a binary 😎
- **Simplicity**
- Bun saves us a ton of time and effort fighting tooling issues
- SPAs are over-prescribed and inherently introduce serious costs
- **Dev UX benefit**
- Better primitives for quickly building UX
- Uniform interface simplifies writing and reading code
- **Architectural benefit**
- Can scale backend and product independently, loosely coupled

0 comments on commit bf2cdd1

Please sign in to comment.