• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
dcm31

dcm31

crm

Open source CRM - contacts, companies, deals, activities
Public
Like
crm
Home
Code
6
frontend
pages
5
README.md
components.tsx
db.ts
H
main.ts
Environment variables
Branches
1
Pull requests
Remixes
1
History
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
README.md
Code
/
README.md
Search
2/5/2026
Viewing readonly version of main branch: v22
View latest version
README.md

⚡ CRM

A full-featured CRM built on Val Town. Manage contacts, companies, deals, and activities — server-rendered with Hono + JSX, styled with Tailwind, persisted in scoped SQLite.

Live →

Features

  • Dashboard — pipeline stats, recent deals, activity feed
  • Contacts — CRUD, search, linked to companies, detail views
  • Companies — domain, industry, size tracking, linked contacts
  • Deals Pipeline — kanban board with color-coded stages, table view, one-click stage changes
  • Activities — log notes, calls, emails, meetings, tasks linked to contacts/companies/deals

Deal Stages

Lead → Qualified → Proposal → Negotiation → Won / Lost

Activity Types

Note · Call · Email · Meeting · Task

Stack

  • Hono router + JSX server-side rendering
  • Tailwind CSS via CDN
  • Val Town scoped SQLite (std/db) — data lives with the val
  • Form POST + redirect pattern — no client-side JS framework

Project Structure

main.ts              Hono router, mounts page sub-apps
db.ts                Schema, types, all data access functions
components.tsx       Layout, sidebar, shared UI components
pages/
  dashboard.tsx      Dashboard with stats + recent items
  contacts.tsx       Contact CRUD + detail views
  companies.tsx      Company CRUD + detail views
  deals.tsx          Deal pipeline (kanban + table) + CRUD
  activities.tsx     Activity log + creation

API

All interactions use standard HTML forms (POST + redirect). No JSON API — it's a server-rendered app. To add a JSON API, add Hono routes that return c.json().

Extending

  • CSV import/export for bulk uploads
  • Email integration via Val Town email vals
  • Webhooks on deal stage changes
  • Custom fields per entity
  • Auth via environment variables
  • Reporting — win rate, deal velocity, pipeline charts
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2026 Val Town, Inc.