wr1t3r

Host your own wr1t3r for free

You can pay $20 and use wr1t3r at my.wr1t3r.app right away. Or you can put your own copy online for free. It's the same app. You just do the setup yourself.

I want wr1t3r to be for everyone. If money is tight, or you want to learn how websites go online, this page is for you. If you like it and can pay later, that helps me keep making it.

What you need

The steps

Step 1: Copy wr1t3r to your GitHub

A copy of code on GitHub is called a fork. Your fork is yours. Nothing you do there changes my copy.

  1. Sign in to GitHub.

  2. Open github.com/librarykaiju/wr1t3r.

  3. Click Fork near the top right.

  4. Leave the name as wr1t3r. If you plan to use GitHub Pages in step 3, change the name now to yourname.github.io. Use your GitHub username in place of yourname. For Cloudflare, keep wr1t3r.

  5. Click Create fork. In a few seconds you have your own copy.

Step 2: Make your Dropbox key

Your wr1t3r needs its own key to talk to Dropbox. The key is not a password. It just tells Dropbox which app is asking.

  1. Go to dropbox.com/developers/apps and sign in.

  2. Click Create app.

  3. Pick these choices:

    • Scoped access
    • App folder. This means the app can only see its own folder, not the rest of your Dropbox.
    • For the name, type something like wr1t3r-yourname. Each name on Dropbox has to be new, so wr1t3r alone won't work. Your notes will go in a folder with this name, inside Apps in your Dropbox.
  4. Click Create app.

  5. Open the Permissions tab. Check these three boxes:

    • files.metadata.read
    • files.content.read
    • files.content.write

    Then click Submit at the bottom of the page. This is easy to miss!

  6. Open the Settings tab. Find App key. Copy it and keep it handy. You'll paste it in step 3.

    You'll come back to this page in step 4, so leave it open.

Step 3: Put it online with Cloudflare

This is the best choice. It's what I use for my own copy.

  1. Sign in to Cloudflare. Make a free account if you need one. You don't need a card.

  2. Open Workers & Pages from the menu on the left. (It may be inside Compute.)

  3. Click Create. Then pick Import a repository. If it asks, connect your GitHub account and let Cloudflare see your wr1t3r fork.

  4. Pick your wr1t3r fork and click Next or Begin setup.

  5. Fill in the settings:

    • Project name: wr1t3r. Keep this exact name.
    • Build command: leave it empty.
    • Deploy command: npm run deploy:selfhost
    • Open Advanced settings. Under Build variables, click Add variable.
      • Variable name: VITE_DROPBOX_APP_KEY
      • Value: the App key you copied in step 2.
  6. Click Deploy. Wait a few minutes. When it's done, Cloudflare shows your address. It looks like this: https://wr1t3r.yourname.workers.dev

    Copy that address. Now go to step 4.

Or step 3: Put it online with GitHub Pages

Use this if you don't want a Cloudflare account. Your fork must be named yourname.github.io (see step 1). If you forgot, open your fork's Settings, change the Repository name, and click Rename.

  1. Turn on GitHub Actions. In your fork, click the Actions tab. Click the green button that says I understand my workflows, go ahead and enable them.

  2. Add your Dropbox key. In your fork, open Settings. On the left, click Secrets and variables, then Actions. Click the Variables tab, then New repository variable.

    • Name: DROPBOX_APP_KEY
    • Value: the App key you copied in step 2.

    Click Add variable.

  3. Turn on Pages. Still in Settings, click Pages on the left. Under Source, pick GitHub Actions.

  4. Start it. Go to the Actions tab. Click Self-host on GitHub Pages on the left. Click Run workflow, then the green Run workflow button.

  5. Wait a few minutes. A green check means it worked. Your address is https://yourname.github.io

    Copy that address. Now go to step 4.

Step 4: Tell Dropbox your address

Dropbox only lets your key work on the address you give it.

  1. Go back to your Dropbox app's Settings tab from step 2.

  2. Find Redirect URIs. Paste your address. Add a / at the very end, like this:

    https://wr1t3r.yourname.workers.dev/

  3. Click Add.

Step 5: Open your wr1t3r

  1. Open your address in your browser.

  2. Click Sign in with Dropbox and say yes.

  3. You're in! Your notes are saved as plain files in your Dropbox, in Apps, in the folder named after your Dropbox app.

On an iPhone or iPad, tap Share, then Add to Home Screen. Open wr1t3r from there. If you don't, Safari may delete wr1t3r's saved data after a few weeks.

You can open the same address on every device you own. Sign in to the same Dropbox on each one.

The Help page shows how to use wr1t3r and how to publish your notes as a website.

Getting updates

When I fix something or add something, your copy doesn't change by itself. To get the new version:

  1. Open your fork on GitHub.

  2. Click Sync fork, then Update branch.

That's it. Cloudflare or GitHub Pages sees the change and puts the new version online in a few minutes. Close wr1t3r and open it again to see it.

If something goes wrong

How it's different from the paid app

Want to build it on your own computer?

If you want to learn more, you can build wr1t3r yourself. Install Node.js (version 22 or newer) and Git. Then, in a terminal (PowerShell on Windows):

git clone https://github.com/yourname/wr1t3r
cd wr1t3r
npm install

Make a file called .env.selfhost.local in that folder with one line: VITE_DROPBOX_APP_KEY=your-key. Then npm run build:selfhost builds the app into the dist-selfhost folder, and npx wrangler login followed by npm run deploy:selfhost puts it on Cloudflare.