How do I run Rawuser on my own server?
Short answer
Clone the public repository, run pnpm server:setup, then pnpm server:start: one process serves the script, the API and the dashboard, with your data in SQLite files.
It also runs in Docker or in your own Cloudflare account. You bring a model key; nothing is sent to us, and it costs nothing.
Last checked 16 November 2026 · Agshin Rajabov, founder of Rawuser
Run Rawuser yourself, step by step
All three run the same code.
Get the code
Clone the public repository and install its packages. You need Node 22 and pnpm 9.
Terminalgit clone https://github.com/agshinrajabov/rawuser-oss.gitcd rawuser-osspnpm install
Get the code
Clone the public repository. Docker builds the rest.
Terminalgit clone https://github.com/agshinrajabov/rawuser-oss.gitcd rawuser-oss
Get the code
Clone the public repository and install its packages. You need Node 22, pnpm 9 and a Cloudflare account.
Terminalgit clone https://github.com/agshinrajabov/rawuser-oss.gitcd rawuser-osspnpm install
Answer the setup's questions
It asks for the three addresses people will reach it at and for your model: its endpoint, a model id and the key. The key is typed unseen. Then it builds the dashboard and makes your sign-in.
Terminalpnpm server:setupStart it
One process serves the script, the API and the dashboard. On your own machine, the dashboard is at
http://localhost:8789.Terminalpnpm server:startFill in the settings
Copy the example settings and fill in your three addresses and your model's endpoint, id and key.
Terminalcp packages/server/.env.example .envStart it, and make your sign-in
The first line starts the container. The second asks for an email and a password. Your data is in the volume
rawuser-data.Terminaldocker compose up -ddocker compose run --rm rawuser pnpm server:user
Put TLS in front
For a real site, put a reverse proxy with TLS in front, with one host for each of the three ports, and set
EDGE_ORIGIN,API_ORIGINandDASHBOARD_ORIGINto those hosts. Then setTRUST_PROXY=on.Put TLS in front
For a real site, put a reverse proxy with TLS in front, with one host for each of the three ports, and set
EDGE_ORIGIN,API_ORIGINandDASHBOARD_ORIGINto those hosts. Then setTRUST_PROXY=on.Log in to Cloudflare and run the installer
The installer says what it is about to do and asks before it changes anything. It makes the storage, asks for your model, deploys the two Workers and the dashboard, and makes your sign-in.
pnpm self-host --dry-runchanges nothing.Terminalnpx wrangler loginpnpm self-host
Add your site and paste the tag
Sign in to your dashboard and add your site. It gives you one line to paste first inside your site's
<head>. That line names your own server, not ours.Rawuser · ConnectTag runs on your-site.com.Your page reached Rawuser.
What do I need to run Rawuser myself?
Node 22, pnpm 9 and a model that writes the versions: any OpenAI-compatible endpoint with its key.
On your own server that is all. Your sites, versions and counts are kept in two SQLite files in one folder, so there is no database to install.
On Cloudflare you also need a Cloudflare account, and Workers AI in that account can be the model.
For a real site you need a reverse proxy with TLS in front: a browser will not let an https page call an http address.
Server, Docker or Cloudflare: which one should I pick?
All three run the same code. Pick the one you already know how to keep running.
The rule that protects your page is the same everywhere: with no answer in 1.5 seconds, the page is shown as you built it.
| Way | What runs | Where your data is | Answered from |
|---|---|---|---|
| Your own server | One Node process: the script on port 8787, the API on 8788, the dashboard on 8789 | Two SQLite files in one folder | Where your server is |
| Docker | The same process, in one container | A Docker volume | Where it runs |
| Your Cloudflare account | Two Workers and a Pages site | Cloudflare's D1 and KV, in your account | Cloudflare's edge, near the visitor |
How long does it take?
On our own run on 16 November 2026, the server was up in 30 seconds and read its first page in 13.
That run was on a laptop, from a clone of the public repository, against a made-up site. After the first read it wrote 30 versions in about two and a half minutes. The same build started in 30 seconds in a Linux container.
Your times depend on your model. Ours answered the first read in 13 seconds.
Does a self-hosted install send anything to Rawuser?
No. Your install talks to your own host, your own site and the model you chose.
The model receives the text of your pages and your brief when versions are written. It never receives anything about a visitor.
A test in the repository reads the source and fails if a host of ours appears in it.
Which model does it need?
Any model behind an OpenAI-compatible endpoint that can return JSON.
If yours is a reasoning model, turn its reasoning off with the MODEL_EXTRA_BODY setting. Reasoning is drawn from the same budget as the answer, and the first read of a page then comes back empty.
When a read fails, the dashboard tells you which it was: no model set, the model wrote nothing, it refused the key, or it did not answer.
What is different from the hosted service?
The product is the same. Self-hosted, the running of it is yours.
On a plain server two things differ from Cloudflare. A visitor's country is known only if your proxy sets a header with it, and a page built in the browser is read through a link you open yourself.
| Self-hosted | Hosted by us | |
|---|---|---|
| Price | Free | Free for 30 days, then from $99 a month |
| The code | The public repository | The same code |
| Setup | You, with the guide | With you, on your own page |
| The model | Your key, your bill | Paid by us |
| Updates | You pull the new code | We do |
| Help | Questions on GitHub | From us |
| Remembering returning visitors | Off until you turn it on | A switch in your dashboard |
What does the law ask of me when I host it?
You are the controller of what it processes about your visitors, and we are no party to it.
Your processors are your host and your model provider. Check their terms as you would for any processor.
The script keeps a random visit code and two words in the tab's storage. We claim no consent exemption for them. If your visitors are in the EU or the UK, the safe way is to load the tag after your consent tool has a yes.
The guide has the paragraph for your privacy notice and the setting that deletes old rows. It is not legal advice.
What licence is it under?
The script that runs on your page is MIT. The server and the dashboard are AGPL-3.0.
You can run it as it is for any number of sites. If you change the server's code and run that copy, the AGPL asks you to make your changes available to the people who use it.
How do I update it?
Pull the new code, run pnpm install, and start it again.
The server applies new migrations when it starts. On Cloudflare, run pnpm self-host again: it makes nothing twice.
Sources
- Rawuser on GitHub, the public repository read 16 November 2026
- Rawuser, Self-hosting (the full guide) read 16 November 2026
- Rawuser, LICENSE (AGPL-3.0) and the script's MIT licence read 16 November 2026
Related questions