npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@hachej/boring-core

v0.1.87

Published

Foundation package for boring-ui-v2 apps: DB, auth, config, HTTP app factory, and frontend app shell.

Readme

@hachej/boring-core

License: MIT npm

The foundation package for boring-ui v2 apps: Postgres/Drizzle database, better-auth (email/password, verification, password reset, magic links, optional Google), TOML+env config loader, Fastify HTTP app factory, and a React frontend shell with auth/workspace gating. Every child app imports core first; domain logic, agent runtime, and workspace UI come from the sibling @hachej/boring-* packages.

pnpm add @hachej/boring-core

Usage essentials

Most apps use the composed app/* surfaces, which fuse core + workspace + agent:

// server entry
import { createCoreWorkspaceAgentServer } from "@hachej/boring-core/app/server"

const app = await createCoreWorkspaceAgentServer({ plugins })
await app.listen({ port: 3000 })
// frontend entry
import { createRoot } from "react-dom/client"
import { CoreWorkspaceAgentFront } from "@hachej/boring-core/app/front"
import "@hachej/boring-core/app/front/styles.css"

createRoot(document.getElementById("root")!).render(
  <CoreWorkspaceAgentFront apiBaseUrl="" chatEntryMode="chat-first" plugins={plugins} />,
)

For a core-only app (no agent/workspace), use createCoreApp(config) from @hachej/boring-core/server and CoreFront from @hachej/boring-core/front.

Required environment (production)

DATABASE_URL, BETTER_AUTH_SECRET, BETTER_AUTH_URL, WORKSPACE_SETTINGS_ENCRYPTION_KEY, MAIL_FROM, MAIL_TRANSPORT_URL (resend://…, smtp://…, or console://), CORS_ORIGINS. Config is also read from boring.app.toml. For dev without Postgres, set CORE_STORES=local (in-memory, resets on restart; not supported by createCoreWorkspaceAgentServer).

Migrations live in drizzle/; run them with drizzle-kit migrate against drizzle.config.ts.

Documentation

See docs/README.md for the architecture overview, public API surface, key abstractions, and links to the gating, plugin, and deployment docs. The reference app is apps/full-app.


About Contributions: Please don't take this the wrong way, but I do not accept outside contributions for any of my projects. I simply don't have the mental bandwidth to review anything, and it's my name on the thing, so I'm responsible for any problems it causes; thus, the risk-reward is highly asymmetric from my perspective. I'd also have to worry about other "stakeholders," which seems unwise for tools I mostly make for myself for free. Feel free to submit issues, and even PRs if you want to illustrate a proposed fix, but know I won't merge them directly. Instead, I'll have Claude or Codex review submissions via gh and independently decide whether and how to address them. Bug reports in particular are welcome. Sorry if this offends, but I want to avoid wasted time and hurt feelings. I understand this isn't in sync with the prevailing open-source ethos that seeks community contributions, but it's the only way I can move at this velocity and keep my sanity.

License

MIT