Built forBun v1.2+

The Bun-Native Framework.

Two layers, one choice. Start simple with the Core micro-framework or ship faster with the opinionated App structure.

terminal

Bun Required

Harpia is built exclusively for the Bun runtime. Make sure you have Bun v1.2+ installed before getting started.

Everything You Need

From minimal APIs to full-stack applications, Harpia scales with your needs.

Bun-Native Speed

Built exclusively for Bun runtime. No Node.js compatibility layer slowing you down.

Built-in Security

Shield middleware protects against common vulnerabilities out of the box.

Two Layers

Start with Core micro-framework or go full-stack with App structure.

Task Scheduling

Built-in job queues and scheduled tasks for background processing.

Prisma ORM

First-class Prisma integration with automatic migrations and seeding.

Email & Storage

Mailer and S3 storage modules ready to use in production.

Choose Your Architecture

Scale from a minimal API microservice to a robust Fullstack monolith. Both share the same powerful foundation.

Build lightning-fast microservices powered by Bun. Zero overhead, just the raw performance you need.

server.ts
1import harpia from "@harpiats/core";
2 
3const app = harpia();
4 
5app.get("/status", (req, res) => res.json({ status: "online" }));
6 
7app.listen({ port: 3000 }, () => {
8 console.log("API Server running on port 3000");
9})

Ready to Build?

Start with the documentation and have your first API running in minutes.