mirror of
https://github.com/Luchexx/wacrm.git
synced 2026-11-02 17:29:45 +00:00
Replace the generic Hostinger brand banner with a purpose-built "Ship your Node.js app in one click — Deploy to Hostinger" banner designed from the Hostinger design system (signature purple, DM Sans Black, real Hostinger logo lockup, Node.js green hexagon mark). Sized 1200×400 at 2× DPR for retina, ~122 KB PNG. Implements the V1 "Purple baseline" variation from the design package "Node.js Deploy Banner.html". Drops the small text caption under the top banner and the redundant "Deploy your fork" shields.io companion (the new banner has its own embedded CTA pill); keeps the "Step-by-step guide" link since that still goes to docs, not Hostinger. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
155 lines
7.2 KiB
Markdown
155 lines
7.2 KiB
Markdown
# wacrm — CRM Template for WhatsApp
|
|
|
|
> Self-hostable CRM template for WhatsApp® — shared inbox, contacts,
|
|
> sales pipelines, broadcasts, and no-code automations. Fork it, brand
|
|
> it, host it.
|
|
|
|
<p align="center">
|
|
<a href="https://www.hostinger.com/web-apps-hosting">
|
|
<img src="./.github/assets/hostinger-deploy.png" alt="Ship your Node.js app in one click — Deploy to Hostinger" width="900">
|
|
</a>
|
|
</p>
|
|
|
|
[](./LICENSE)
|
|
[](https://github.com/ArnasDon/wacrm/actions/workflows/ci.yml)
|
|
[](https://nextjs.org)
|
|
[](https://supabase.com)
|
|
[](https://github.com/ArnasDon/wacrm/stargazers)
|
|
|
|
The marketing site and self-host docs live in a separate repo:
|
|
[ArnasDon/wacrm-site](https://github.com/ArnasDon/wacrm-site)
|
|
([wacrm.tech](https://wacrm.tech)). This repo is the product —
|
|
clone or fork it to run your own CRM.
|
|
|
|
## What you get out of the box
|
|
|
|
- **Shared inbox** on the official WhatsApp Business API — multiple
|
|
agents working one number, per-conversation assignment, status, and
|
|
notes.
|
|
- **Contacts + tags + custom fields**, CSV import, deduplication.
|
|
- **Sales pipelines** (Kanban) with deals linked to conversations.
|
|
- **Broadcasts** with Meta-approved templates, delivery + read
|
|
tracking, per-recipient variable substitution.
|
|
- **No-code automations** — triggers on inbound messages, new
|
|
contacts, keywords, or schedule; conditional branches, waits,
|
|
tags, webhooks. Visual builder.
|
|
- **Real-time dashboard** — response times, daily volume, pipeline
|
|
value, cross-module activity feed.
|
|
- **Account management** — email, password, avatar, global sign-out.
|
|
|
|
## Why fork this?
|
|
|
|
This is a **template**, not a product. Forking means you get:
|
|
|
|
- **Full ownership** — your code, your Supabase project, your domain,
|
|
your data. No SaaS lock-in, no seat pricing, no trust dance.
|
|
- **Full customisation** — add the fields your team needs, remove the
|
|
modules you don't, redesign anything. The stack is boring on
|
|
purpose (Next.js + Supabase + Tailwind) so the learning curve is
|
|
short.
|
|
- **Zero ops to start** — [Hostinger](https://www.hostinger.com/web-apps-hosting)
|
|
Managed Node.js deploys a fork in a few clicks. No Docker, no
|
|
Kubernetes, no infra team needed.
|
|
([See below ↓](#-deploy-on-hostinger-recommended))
|
|
- **Real security primitives** — token encryption (AES-256-GCM), RLS
|
|
on every table, HMAC-verified webhooks, CSP, rate limiting, CI
|
|
typecheck/build on every PR.
|
|
|
|
Not a framework. Not an SDK. A concrete, working CRM you can stand up
|
|
in an afternoon and make yours.
|
|
|
|
## Quick start
|
|
|
|
```bash
|
|
# Fork on GitHub first: https://github.com/ArnasDon/wacrm → Fork
|
|
git clone https://github.com/<your-username>/wacrm.git
|
|
cd wacrm
|
|
npm install
|
|
cp .env.local.example .env.local # fill in Supabase + Meta creds
|
|
npm run dev
|
|
```
|
|
|
|
Open <http://localhost:3000>. You'll be redirected to `/login` (or
|
|
`/dashboard` if already signed in).
|
|
|
|
## 🚀 Deploy on Hostinger (recommended)
|
|
|
|
<p align="center">
|
|
<a href="https://www.hostinger.com/web-apps-hosting">
|
|
<img src="./.github/assets/hostinger-deploy.png" alt="Ship your Node.js app in one click — Deploy to Hostinger" width="1000">
|
|
</a>
|
|
</p>
|
|
<p align="center">
|
|
<a href="https://wacrm.tech/docs/deployment-hostinger">
|
|
<img src="https://img.shields.io/badge/Step--by--step_guide-wacrm.tech%2Fdocs-111?style=for-the-badge" alt="Step-by-step guide" height="44">
|
|
</a>
|
|
</p>
|
|
|
|
**wacrm is built to run on [Hostinger](https://www.hostinger.com/web-apps-hosting).**
|
|
It's the path we test, document, and recommend — and the fastest way
|
|
to get a production-grade CRM live without owning a VPS or a
|
|
Kubernetes cluster.
|
|
|
|
### Why Hostinger?
|
|
|
|
| | |
|
|
|---|---|
|
|
| **One-click Git deploy** | Connect your fork, push to `main`, Hostinger builds and ships it. No SSH, no Docker, no CI to wire up — this repo's own `main` deploys this way. |
|
|
| **Managed Node.js** | Next.js 16 (App Router, server actions, ISR) runs out of the box on [Premium, Business, and Cloud](https://www.hostinger.com/web-apps-hosting) shared plans. You don't manage Node versions, processes, or reverse proxies. |
|
|
| **Free SSL + free domain** | Automatic Let's Encrypt on your custom domain (or a free one included with annual plans). HTTPS is on by default — required for the WhatsApp Business webhook. |
|
|
| **Global CDN + LiteSpeed** | Static assets cached at the edge, dynamic routes served from LiteSpeed. Snappy dashboards out of the box, no Cloudflare setup required. |
|
|
| **Env vars + logs in hPanel** | Set `SUPABASE_*`, `WHATSAPP_*`, and `ENCRYPTION_KEY` from the panel — no `.env` on the server. Live application logs in the same UI. |
|
|
| **DDoS protection + daily backups** | Built-in, no add-ons. The webhook endpoint is a public target — having protection at the edge matters. |
|
|
| **Cheaper than a VPS** | Plans start at a few dollars a month — order-of-magnitude less than a comparable managed Node.js host, and you don't pay extra for the database (that's Supabase). |
|
|
| **24/7 human support** | Live chat support in 20+ languages — useful when your CRM is the thing your team relies on to talk to customers. |
|
|
|
|
### The 60-second version
|
|
|
|
1. **Fork** this repo on GitHub.
|
|
2. In **hPanel → Websites → Create**, pick **Node.js** and connect
|
|
your fork.
|
|
3. Paste your Supabase + Meta env vars into hPanel.
|
|
4. Push to `main`. Hostinger builds and serves it. Done.
|
|
|
|
Full walkthrough with screenshots:
|
|
**[wacrm.tech/docs/deployment-hostinger](https://wacrm.tech/docs/deployment-hostinger)**.
|
|
|
|
> _Note: wacrm is MIT-licensed and runs anywhere Node.js does
|
|
> (Vercel, Railway, your own VPS). Hostinger is recommended, not
|
|
> required._
|
|
|
|
## Documentation
|
|
|
|
Full self-host documentation — Supabase migrations, WhatsApp Business
|
|
API config, and production deploy — lives at
|
|
**[wacrm.tech/docs](https://wacrm.tech/docs)**
|
|
(source: [ArnasDon/wacrm-site](https://github.com/ArnasDon/wacrm-site)).
|
|
|
|
Key pages:
|
|
- [Getting started](https://wacrm.tech/docs/getting-started)
|
|
- [Supabase setup](https://wacrm.tech/docs/supabase-setup)
|
|
- [WhatsApp setup](https://wacrm.tech/docs/whatsapp-setup)
|
|
- [Environment variables](https://wacrm.tech/docs/environment-variables)
|
|
- [Deploy on Hostinger](https://wacrm.tech/docs/deployment-hostinger)
|
|
- [Architecture](https://wacrm.tech/docs/architecture)
|
|
- [Troubleshooting](https://wacrm.tech/docs/troubleshooting)
|
|
|
|
## Stack
|
|
|
|
- **App** — Next.js 16 (App Router), React 19, TypeScript, Tailwind v4.
|
|
- **Data** — Supabase (Postgres + Auth + Storage + RLS).
|
|
- **WhatsApp** — Meta Cloud API (official WhatsApp Business API).
|
|
|
|
## Contributing
|
|
|
|
This is a template, not a collaborative product — the expected flow is
|
|
fork → customise → deploy, **not** upstream contribution. Bug reports
|
|
and security issues are welcome; feature PRs often belong in your fork
|
|
rather than here. Details in
|
|
[`CONTRIBUTING.md`](./CONTRIBUTING.md) and
|
|
[`.github/SECURITY.md`](./.github/SECURITY.md).
|
|
|
|
## License
|
|
|
|
[MIT](./LICENSE). Fork it, brand it, host it.
|