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

推荐订阅源

博客园 - 三生石上(FineUI控件)
U
Unit 42
人人都是产品经理
人人都是产品经理
罗磊的独立博客
Recent Announcements
Recent Announcements
云风的 BLOG
云风的 BLOG
aimingoo的专栏
aimingoo的专栏
T
Tailwind CSS Blog
GbyAI
GbyAI
Blog — PlanetScale
Blog — PlanetScale
I
InfoQ
Last Week in AI
Last Week in AI
宝玉的分享
宝玉的分享
B
Blog RSS Feed
WordPress大学
WordPress大学
腾讯CDC
H
Help Net Security
博客园 - Franky
博客园 - 【当耐特】
博客园 - 聂微东
Stack Overflow Blog
Stack Overflow Blog
B
Blog
Vercel News
Vercel News
博客园 - 司徒正美

Show HN

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 - tamerh/enju: Coordinating Humans, AI Agents, and Compute as Peers on a Shared Workflow Graph
GitHub - saaspegasus/django-boilerplate: The original Saa...
czue · 2026-06-23 · via Show HN

SaaS Pegasus Django Boilerplate (Open Source Edition)

The original SaaS boilerplate for Django — trusted by thousands.

A free, open-source, production-grade starting point for your next Django application. Spin up a Django app with a modern front-end stack and built-in essentials in minutes. Optimized for building in the AI-agent era.

This is the open-source edition of SaaS Pegasus, the Django SaaS boilerplate that has powered thousands of startups and products since 2019. It gives you a real, batteries-included foundation to build on, and a taste of the architecture, conventions, and tooling used by SaaS Pegasus projects.

Looking for more? The pro version of SaaS Pegasus adds Stripe subscriptions, teams & multi-tenancy, a host of AI and agent-based capabilities, one-click deployments, and much more. See everything in SaaS Pegasus Pro →

What's included

This boilerplate ships with a complete, modern Django foundation:

  • 🐍 Django 6 on Python 3.14 — a clean, well-organized project structure following Django best practices.
  • 🔐 Authentication — sign-up, login, password reset, and email verification via django-allauth.
  • HTMX + Alpine.js — single-page-app interactivity without the single-page-app complexity.
  • 🎨 Tailwind CSS v4 + DaisyUI — a modern, themeable component library, integrated with Vite via django-vite.
  • 🔌 REST API — built on Django REST Framework with an auto-generated, OpenAPI-typed client.
  • 🧵 Background tasksCelery workers and scheduled jobs, backed by Redis.
  • 🐘 Postgres — the standard Django database, ready to go.
  • 🐳 Docker — local services (Postgres, Redis) wired up with Docker Compose.
  • 🛠️ Tooling — Uv for Python, Vite for front end, Ruff formatting/linting, pre-commit hooks, a test suite, and GitHub Actions CI.
  • 🤖 Agent-ready — ships with CLAUDE.md/AGENTS.md and built-in skills files, so coding agents understand how to work with the codebase out of the box.

Custom codebase creator

You can create a free, personalized version of this project using the SaaS Pegasus codebase creator (requires signup). This lets you change project details, add/remove features, and change your preferred coding assistant. You'll also get one-click upgrades and tools for coding agents to configure your project for you.

Don't need customizations? That's fine too, just fork this project and start coding!

Open-source edition vs. SaaS Pegasus Pro

This repo is a great way to start hobby/personal Django projects and evaluate SaaS Pegasus. The pro version is more suitable for business-grade SaaS and AI applications.

Feature This repo SaaS Pegasus Pro
Django + Postgres + Celery foundation
Authentication (allauth)
REST API (DRF)
Tailwind + DaisyUI + vite front end
Docker & CI
Stripe subscriptions & billing
Teams & multi-tenancy
Built-in AI chat/agent app
One-click production deployment (Render, Fly, Heroku, GCP, AWS…)
Social & 2FA login, API keys, user impersonation
Dedicated support & priority fixes Community

Check out SaaS Pegasus Pro →


Quickstart

Prerequisites

To run the app in the recommended configuration, you will need the following installed:

On Windows, you will also need to install make, which you can do by following these instructions.

Initial setup

Run the following command to initialize your application:

This will:

  • Build and run your Postgres database
  • Build and run your Redis database
  • Run your database migrations
  • Install front end dependencies

Then you can start the app:

This will run your Django server and build and run your front end (JavaScript and CSS) pipeline.

Your app should now be running! You can open it at localhost:8000.

If you're just getting started, try these steps next.

Using the Makefile

You can run make to see other helper functions, and you can view the source of the file in case you need to run any specific commands.

Installation - Native

You can also install/run the app directly on your OS using the instructions below.

You can setup a virtual environment and install dependencies in a single command with:

This will create your virtual environment in the .venv directory of your project root.

Set up database

If you are using Docker you can skip these steps.

Create a database named project.

Create database migrations:

uv run manage.py makemigrations

Create database tables:

Running server

uv run manage.py runserver

Building front-end

To build JavaScript and CSS files, first install npm packages:

Then build (and watch for changes locally):

Running Celery

Celery can be used to run background tasks.

Celery requires Redis as a message broker, so make sure it is installed and running.

You can run it using:

celery -A project worker -l INFO --pool=solo

Or with celery beat (for scheduled tasks):

celery -A project worker -l INFO -B --pool=solo

Note: Using the solo pool is recommended for development but not for production.

Installing Git commit hooks

To install the Git commit hooks run the following:

uv run pre-commit install --install-hooks

Once these are installed they will be run on every commit.

For more information see the docs.

Running Tests

To run tests:

Using make:

Native:

Or to test a specific app/module:

Using make:

make test ARGS='apps.web.tests.test_basic_views --keepdb'

Native:

uv run manage.py test apps.web.tests.test_basic_views --keepdb

On Linux-based systems you can watch for changes using the following:

find . -name '*.py' | entr uv run manage.py test apps.web.tests.test_basic_views

Documentation

This project is built with SaaS Pegasus, and all relevant parts of the Pegasus documentation apply here too.

Splitting out the open-source documentation from the pro documentation is still a work in progress.

Support

This open-source edition is provided as-is, and is supported by the community. Issues and pull requests are welcome.

For dedicated support, priority bug fixes, and the full feature set, check out SaaS Pegasus. There is also a community Slack instance for all Pegasus Pro customers.

License

This boilerplate is released under the MIT License — free to use for personal and commercial projects.