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
- A computer with a web browser. You won't type any commands.
- A free GitHub account. GitHub keeps the app's code.
- A free Dropbox account. Dropbox keeps your notes.
- A free Cloudflare account, if you pick Cloudflare in step 3.
- About 20 minutes.
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.
-
Sign in to GitHub.
-
Click Fork near the top right.
-
Leave the name as
wr1t3r. If you plan to use GitHub Pages in step 3, change the name now toyourname.github.io. Use your GitHub username in place of yourname. For Cloudflare, keepwr1t3r. -
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.
-
Go to dropbox.com/developers/apps and sign in.
-
Click Create app.
-
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, sowr1t3ralone won't work. Your notes will go in a folder with this name, inside Apps in your Dropbox.
-
Click Create app.
-
Open the Permissions tab. Check these three boxes:
files.metadata.readfiles.content.readfiles.content.write
Then click Submit at the bottom of the page. This is easy to miss!
-
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.
-
Sign in to Cloudflare. Make a free account if you need one. You don't need a card.
-
Open Workers & Pages from the menu on the left. (It may be inside Compute.)
-
Click Create. Then pick Import a repository. If it asks, connect your GitHub account and let Cloudflare see your
wr1t3rfork. -
Pick your
wr1t3rfork and click Next or Begin setup. -
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.
- Variable name:
- Project name:
-
Click Deploy. Wait a few minutes. When it's done, Cloudflare shows your address. It looks like this:
https://wr1t3r.yourname.workers.devCopy 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.
-
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.
-
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.
- Name:
-
Turn on Pages. Still in Settings, click Pages on the left. Under Source, pick GitHub Actions.
-
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.
-
Wait a few minutes. A green check means it worked. Your address is
https://yourname.github.ioCopy 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.
-
Go back to your Dropbox app's Settings tab from step 2.
-
Find Redirect URIs. Paste your address. Add a
/at the very end, like this:https://wr1t3r.yourname.workers.dev/ -
Click Add.
Step 5: Open your wr1t3r
-
Open your address in your browser.
-
Click Sign in with Dropbox and say yes.
-
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:
-
Open your fork on GitHub.
-
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
- The build failed and says to add
VITE_DROPBOX_APP_KEY. The Dropbox key is missing. On Cloudflare, open your Worker, then Settings, then Build, and add it under Build variables. On GitHub, check that the variable is namedDROPBOX_APP_KEYexactly. Then build again. - Cloudflare says the name doesn't match. Your Worker has to be called
wr1t3r. Make a new one with that name. - Dropbox says "Invalid redirect_uri". The address in step 4 doesn't match. Check that it starts with
https://and ends with/. - Dropbox says the app can't do something. Go back to step 2, number 5. Check all three boxes and click Submit.
- The GitHub Pages site is a blank page. The fork must be named
yourname.github.io, with your real username. - Still stuck? Look at the build's log. On Cloudflare, it's under Deployments. On GitHub, it's in the Actions tab. The red lines near the bottom say what went wrong.
How it's different from the paid app
- It's free. No trial and no license key.
- Dropbox only. Google Drive and Google Calendar need a lot more setup, so this guide leaves them out. Everything else works the same.
- You get updates when you click Sync fork. The paid app updates by itself.
- It's open source. Use your copy for anything, even paid work like writing a book you sell. You can change the code too. If you change it and let other people use your changed copy, you have to share your changes with them. The license has the exact words.
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.