Rawuser / Install

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.

  1. Get the code

    Clone the public repository and install its packages. You need Node 22 and pnpm 9.

    Terminal
    git clone https://github.com/agshinrajabov/rawuser-oss.gitcd rawuser-osspnpm install
  2. Get the code

    Clone the public repository. Docker builds the rest.

    Terminal
    git clone https://github.com/agshinrajabov/rawuser-oss.gitcd rawuser-oss
  3. Get the code

    Clone the public repository and install its packages. You need Node 22, pnpm 9 and a Cloudflare account.

    Terminal
    git clone https://github.com/agshinrajabov/rawuser-oss.gitcd rawuser-osspnpm install
  4. 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.

    Terminal
    pnpm server:setup
  5. Start it

    One process serves the script, the API and the dashboard. On your own machine, the dashboard is at http://localhost:8789.

    Terminal
    pnpm server:start
  6. Fill in the settings

    Copy the example settings and fill in your three addresses and your model's endpoint, id and key.

    Terminal
    cp packages/server/.env.example .env
  7. Start 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.

    Terminal
    docker compose up -ddocker compose run --rm rawuser pnpm server:user
  8. 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_ORIGIN and DASHBOARD_ORIGIN to those hosts. Then set TRUST_PROXY=on.

  9. 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_ORIGIN and DASHBOARD_ORIGIN to those hosts. Then set TRUST_PROXY=on.

  10. 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-run changes nothing.

    Terminal
    npx wrangler loginpnpm self-host
  11. 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 · Connect

    Tag 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.

WayWhat runsWhere your data isAnswered from
Your own serverOne Node process: the script on port 8787, the API on 8788, the dashboard on 8789Two SQLite files in one folderWhere your server is
DockerThe same process, in one containerA Docker volumeWhere it runs
Your Cloudflare accountTwo Workers and a Pages siteCloudflare's D1 and KV, in your accountCloudflare'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-hostedHosted by us
PriceFreeFree for 30 days, then from $99 a month
The codeThe public repositoryThe same code
SetupYou, with the guideWith you, on your own page
The modelYour key, your billPaid by us
UpdatesYou pull the new codeWe do
HelpQuestions on GitHubFrom us
Remembering returning visitorsOff until you turn it onA 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

  1. Rawuser on GitHub, the public repository read 16 November 2026
  2. Rawuser, Self-hosting (the full guide) read 16 November 2026
  3. Rawuser, LICENSE (AGPL-3.0) and the script's MIT licence read 16 November 2026

Related questions

Start your pilot

See it on your site.

Free for 30 days. Leave your email and your page; we reply within a day with what your own page would say to a visitor from ChatGPT.

We use your email only to reply. Privacy

What happens next

  1. 01

    Within a day, your own page.

    What it would say to a visitor from ChatGPT, written from your page.

  2. 02

    We set it up with you.

    You see your page and its first version before anything goes live.

  3. 03

    Day 31, you decide.

    Keep it from $99 a month, or stop and owe nothing.