What is DarkLabel?

A white-label lead management platform you can deploy in minutes and brand as your own.

The Whole Stack, One Binary

DarkLabel is a self-contained Go web application. Public website, admin panel, email integration, lead tracking — all configured through environment variables. No frameworks, no build steps, no node_modules.

Go
Backend
SQL
SQLite + WAL
JS
Vanilla JS
CSS
Custom CSS
PM
Postmark
sys
systemd

Admin Dashboard

At-a-glance stats, quick actions, and everything you need to manage your leads and communications.

yourdomain.com/admin/
Admin

Dashboard

47
Total Leads
5
New Leads
23
Inbound Emails
3
Unread
View New Leads Check Inbox Compose Email

Lead Management

Every form submission is captured as a lead with full detail: name, phone, email, service requested, message, IP address, and timestamp.

  • Status Tracking — New, Contacted, and Closed pipeline stages
  • Internal Notes — Add private notes to any lead via inline editing
  • One-Click Email — Reply to leads directly from the detail view
  • Click-to-Call — Tap any phone number to dial on mobile
  • Soft Delete — Trash and restore leads without losing data
  • Mobile Cards — Responsive card layout on small screens
yourdomain.com/admin/leads
All New Contacted Closed
DateNamePhoneServiceStatus
Jan 15Maria Santos(305) 555-0142Consultingnew
Jan 14James Chen(415) 555-0198Web Devcontacted
Jan 12Amy Park(212) 555-0067Designclosed
Jan 10Omar Hassan(713) 555-0231Consultingnew

Full Email System

Send, receive, and manage email directly from the admin panel. Powered by Postmark for reliable delivery.

  • Inbound Inbox — Receive customer replies via Postmark webhooks
  • Compose & Send — Write and send emails with your business branding
  • Reply Threading — Reply to inbound emails with context preserved
  • Auto-Forward — Forward all inbound mail to additional addresses
  • Lead Alerts — Get notified by email when new leads come in
  • Sent Archive — Full history of every outbound email
yourdomain.com/admin/compose

Compose Email

maria.santos@example.com
Re: Your Inquiry - DarkLabel
Hi Maria,

Thanks for reaching out! I'd love to discuss your project in more detail...

Best regards
Send Email Cancel

Admin Settings

Configure notification behavior and email forwarding rules from a clean settings interface. No code changes needed.

  • Toggle Alerts — Enable/disable email notifications for new leads
  • Notification Email — Set where lead alerts are delivered
  • Email Forwarding — Auto-forward inbound email to a list of addresses
  • Badge System — Add/remove forwarding addresses with tag-style input
yourdomain.com/admin/settings

Settings

Lead Notifications
Enable email alerts
you@yourdomain.com
Email Forwarding
Enable forwarding
partner@co.com × backup@mail.com ×

100% White-Label

Every visible element is driven by environment variables. Change the .env file and restart — instant rebrand.

Theming
COLOR_PRIMARY#0f172a
COLOR_SECONDARY#1e293b
COLOR_ACCENT#8b5cf6
Branding
BUSINESS_NAMEYour Brand
BUSINESS_TAGLINEYour Slogan
DOMAINyourdomain.com
Contact
BUSINESS_PHONE(555) 123-4567
BUSINESS_EMAILyou@domain.com
BUSINESS_ADDRESSYour City, ST
Services
SERVICES_JSON[{"value":"web", "label":"Web Dev"}, ...]
BUSINESS_HOURSMon-Fri 9-5
ADMIN_USERyourlogin

Built Right

Security and performance baked in from the start, not bolted on after.

Rate Limiting

IP-based rate limiting on form submissions (3/hour) and login attempts (5/15min). Automatic cleanup of old entries.

Spam Prevention

Honeypot field traps bots silently. No CAPTCHAs, no friction for real users. Bots get a fake success page.

Session Security

Cryptographically random session tokens. HttpOnly, Secure, SameSite cookies. 30-day sessions with server-side validation.

SQLite + WAL

Write-Ahead Logging for concurrent reads during writes. Single-file database. No external database server needed.

~2MB Binary

Compiles to a single static binary. No runtime dependencies. Memory usage under 10MB. Starts in milliseconds.

SEO Ready

Dynamic robots.txt, sitemap.xml, security.txt. Structured data (JSON-LD). Open Graph and Twitter Card meta tags.

AI-Agent-First Codebase

Every file, function, and convention is designed so an AI coding agent can understand, modify, and ship changes on the first try.

CLAUDE.md Context

Single context document with architecture, routes, schema, env vars, and conventions. Any agent can onboard in one read.

Small Focused Files

Go files under 250 lines, CSS files under 450 lines. Every file fits in a single context window with room to spare.

Clear Boundaries

No circular dependencies. Each package has one job. Handlers, models, database, templates — all separate.

Test Coverage

Run make test after every change. Integration tests for handlers, unit tests for validation and rate limiting.

Zero Magic

No frameworks, no codegen, no ORM, no middleware chains. Just Go stdlib, SQL strings, and HTML templates.

Consistent Patterns

Every handler checks auth the same way. Every template uses the same data flow. Learn one pattern, know them all.

Deploy in 4 Steps

From git clone to live site, no build pipeline required.

1

Clone & Configure

git clone && cp .env.example .env
nano .env # set your brand, domain, colors
2

Build

make build # compiles to bin/darklabel
3

Set Up Service

systemctl enable darklabel
systemctl start darklabel
4

Point DNS & SSL

certbot --nginx -d yourdomain.com # done

What Your Visitors See

A clean, fast, mobile-first public website with five pages ready to go.

Home

Hero section with CTA buttons, service cards, trust badges, and a bottom call-to-action. Full parallax background support.

Services

Service grid with icon cards, detailed feature section, and quote request CTA. Services configurable via JSON.

About

This page. Product showcase, admin mockups, feature breakdown, tech stack, and deployment guide.

Contact

Lead capture form with validation, honeypot, rate limiting. Business info cards and process steps alongside.

Thanks

Confirmation page after form submission. Reassures the visitor and provides additional contact options.

Fork It, Brand It, Ship It

DarkLabel is MIT licensed. Clone the repo, change the .env, and you have a fully branded lead management platform.