惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

J
Java Code Geeks
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Blog — PlanetScale
Blog — PlanetScale
G
Google Developers Blog
Microsoft Security Blog
Microsoft Security Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
腾讯CDC
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Jina AI
Jina AI
雷峰网
雷峰网
T
Tailwind CSS Blog
爱范儿
爱范儿
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
酷 壳 – CoolShell
酷 壳 – CoolShell
大猫的无限游戏
大猫的无限游戏
月光博客
月光博客
博客园 - 司徒正美
I
InfoQ
Engineering at Meta
Engineering at Meta
Vercel News
Vercel News
小众软件
小众软件
U
Unit 42
Google DeepMind News
Google DeepMind News
D
DataBreaches.Net

Show HN

Show HN: AI agents for UK GDAD PCF roles and their skills The Two Pillars: Mixer Mode and Meta-Software in the Reorganization of Software Work After AI GitHub - JaiCode08/teleport-env What 1,000+ Harness Experiments Taught Me About Self-Improving Agents Show HN: Liiists, a Markdown-first, iOS and CLI list app SwiperTab – Get this Extension for 🦊 Firefox (en-US) GitHub - kouhxp/fftext: Summarize, explain, fact-check, or translate any text, URL, or file. No GPU. No cloud. One command GitHub - sweetpad-dev/sweetpad: Develop Swift/iOS projects using VSCode GitHub - dogmaticdev/IRON: IRON a.k.a. Intermediate Representation Object Notation is a Interpreter/Database that is used to create Programming Languages. GitHub - sjhalani7/vaen: Package your AI coding harness into a portable .agent file, and share it across repos, teams, & the community without ever having to copy-paste instructions, skills, MCP config, or secrets. Show HN: Gandalf the Grader Show HN: Citadeld – replay any CI failure locally from a single file GitHub - tdortman/cuSBF: High-Performance GPU Super Bloom Filter coral-ai/claude-code-token-xray at main · Coral-Bricks-AI/coral-ai GitHub - ulyssestenn/funes: Funes is a Git-based framework for LLM-managed knowledge work: an AI Librarian ingests raw sources, builds an interlinked Markdown knowledge base, and uses it to produce cited reports, analyses, and other outputs. GitHub - ThatXliner/gah: Git Add Hunk, built for agents to use GitHub - harmont-dev/harmont-cli: Command-line client for the Harmont CI platform GitHub - brooksmcmillin/mcp-authflow: OAuth 2.0 Authorization Server framework for MCP servers GitHub - javaid-codes/audit-supply-chain-agents GitHub - amorey/gochan: A small library of common channel architectures for Go, inspired by Rust GitHub - arifozgun/OpenGem: Free, Open-Source AI API Gateway with Gemini, OpenAI & Anthropic Compatibility in 1 file GitHub - Pranesh950/BioPetals: 🌸 Run BIOxAI models at home, BitTorrent-style. Fine-tuning and inference up to 10x faster than offloading GitHub - cnguyen14/bounty-doctor: Diagnose a GitHub bounty issue before you waste hours: detects honeypot scam repos, AI-bot attempt swarms, and stale contests. Show HN: CoreMCP – MCP Server for On-Prem DBs Show HN: KittyHTML – Render HTML/CSS as an inline image in your terminal GitHub - bingud/filemat: Web-based file manager Show HN: TruthLens – Free multi-signal deepfake image detector GitHub - apexlocal-jz/claude-usage-tray: Windows system-tray app showing your Claude Code rate-limit usage at a glance. Zero deps, ~300 lines of PowerShell. Cross-IDE (works regardless of VS Code, Cursor, plain terminal). Release v0.1.2.1 · kouhxp/yapsnap GitHub - noopolis/moltnet: Self-hostable chat network for AI agents. Pre-built bridges for Claude Code, Codex, and the Claws. Rooms, DMs, history. No Slack bots, no Matrix, no glue code.
GitHub - mmilanovic4/forge: Next.js boilerplate with Bett...
mmilanovic4 · 2026-06-17 · via Show HN

A minimal Next.js boilerplate with authentication, database and a component library ready to go.

Prerequisites

  • Node.js 18+
  • Docker (recommended) or PostgreSQL running locally

Setup

  1. Clone the repo
git clone https://github.com/mmilanovic4/forge.git
cd forge
  1. Install dependencies
  1. Create the environment file and fill in your values:

See the Environment Variables section below for the required values.

  1. Start the database
  1. Push the database schema
  1. Generate the Prisma client
  1. Start the dev server

Open http://localhost:3000.

Docker

The included docker-compose.yml spins up PostgreSQL and Mailpit.

docker compose up -d    # start in background
docker compose down     # stop
docker compose down -v  # stop and delete all data

Mailpit web UI is available at http://localhost:8025.

Environment Variables

Variable Description
DATABASE_URL PostgreSQL connection string
BETTER_AUTH_SECRET Random secret string (min 32 chars)
BETTER_AUTH_URL Base URL of the app (e.g. http://localhost:3000)
SMTP_HOST SMTP server host (optional)
SMTP_PORT SMTP server port (optional)
SMTP_USER SMTP username (optional)
SMTP_PASS SMTP password (optional)
SMTP_FROM From email address (optional)
DISCORD_CLIENT_ID Discord OAuth app client ID (optional)
DISCORD_CLIENT_SECRET Discord OAuth app client secret (optional)
GITHUB_CLIENT_ID GitHub OAuth app client ID (optional)
GITHUB_CLIENT_SECRET GitHub OAuth app client secret (optional)
GOOGLE_CLIENT_ID Google OAuth app client ID (optional)
GOOGLE_CLIENT_SECRET Google OAuth app client secret (optional)

User Roles

Forge uses two roles managed via Better Auth's admin plugin:

Role Description
user Default role assigned on registration
admin Full access to the admin panel and user management (/users)

Admins can manage other users (ban, unban, change roles, delete) from the /users page. An admin cannot ban or delete their own account.

Social Auth

GitHub, Google, and Discord OAuth are supported but not configured by default. To enable them, create OAuth apps and add your credentials to .env.

Replace {APP_URL} with your BETTER_AUTH_URL value (e.g. http://localhost:3000).

  • Discorddiscord.com/developers/applications → New Application → OAuth2

    • Redirects: {APP_URL}/api/auth/callback/discord
  • GitHubgithub.com/settings/developers → New OAuth App

    • Homepage URL: {APP_URL}
    • Callback URL: {APP_URL}/api/auth/callback/github
  • Googleconsole.cloud.google.com → APIs & Services → Credentials → Create OAuth 2.0 Client ID

    • Authorized JavaScript origins: {APP_URL}
    • Authorized redirect URI: {APP_URL}/api/auth/callback/google