wr1t3r

Help

Step by step, from first sign-in to a website with your notes on it. In the app, Settings > Help links back here.

Setting up wr1t3r

  1. Open my.wr1t3r.app in any browser. On an iPhone or iPad, tap Share, then Add to Home Screen, and open wr1t3r from there. Safari clears a website's saved data after a few weeks unless it's on the Home Screen.

  2. Sign in with Dropbox or Google Drive. In Dropbox, wr1t3r gets one folder of its own, Apps › wr1t3r, and can't see anything else in your Dropbox. In Google Drive, it keeps your notes in a folder called wr1t3r and sees only the files it made. Either way, your notes go straight between your browser and your storage; they never pass through a server of mine.

    The first screen: Your notes live in your own Dropbox, in Apps › wr1t3r, and a Sign in with Dropbox button

  3. Pick what you'll use it for. wr1t3r turns on the parts that fit. Leave Add starter notes and a Home screen ticked if you'd like a few notes to start from. You can change all of this later in Settings > Features.

    Welcome to wr1t3r: checkboxes for Writing, Journal and day planner, Health and food, Books, films and other media, and Research and capture, with Start and Skip buttons

  4. Read the Welcome note. It explains each part you turned on. Delete it when you're done; Commands > Getting started writes a fresh one.

  5. Already have notes? In Dropbox, put your Markdown files (and their pictures) in Dropbox › Apps › wr1t3r. They show up when you switch back to wr1t3r. In Google Drive, add them with the Upload button, since wr1t3r can only see files it put there itself.

  6. Enter your license key in Settings > License after you buy. Everything works during the 14-day trial.

Settings › Help in the app: a Getting started guide button and links to these guides

Getting back in, and your devices

wr1t3r has no account or password of its own. You sign in with Dropbox or Google, and your notes stay there.

Publishing your notes as a website

wr1t3r builds a website from the notes you choose, as plain web pages you can put on any host. Nothing is published until you say so.

  1. Turn it on. In Settings › Features, set Website to On. The globe button shows up in the toolbar. (It's on already if any of your notes has publish: true.)

  2. Choose the notes. Open a note, click the globe in the toolbar, and choose Add to my website. That adds publish: true to the note's properties; nothing goes online yet. The globe is highlighted on notes that are on the site, and the same menu takes them off.

    The globe button in the toolbar, open, with the note's place on the website and Export as website

  3. Set up the site. In the globe menu, choose Export as website…. Give the site a title, pick a theme, light or dark, and a layout (a menu across the top, or folders down the left as in the app). Add Ko-fi, Patreon or your own link, and where else to find you. The preview on the right shows any page as visitors will see it.

    Your front page. Write a note called Home (at the top of your notebook) and give it publish: true; its text is your front page. Under it, the site lists your newest posts. Choose which folder and how many under Front page, or Nothing to show only your Home note. To place lists yourself, put a posts block in the Home note wherever you want one, as many as you like:

    ```posts
    folder: microblog
    count: 5
    show: summary
    ```
    

    show can be title, summary (the title and a line or two) or full (the whole post). Leave out folder for posts from every folder.

    Rather build it from blocks? Click Design the front page… under Front page. Add headings, text, pictures, lists of your latest posts, links and dividers, put them in order, and see the page as you go. It's saved as your Home note, so you can switch between the two.

    Already have a site with its own look? Tick _Plain HTML pages that use your own stylesheet_. The pages come without a theme and link `main.css` at the top of the site (or another address you give), so put your stylesheet there and they match the rest of your site. The sidebar, share buttons and Properties box are left out.
    

    The Export as website window: site title, logo, theme, light or dark, layout and other settings on the left, and a preview of the front page on the right

  4. Put it online. There are three ways, all free:

    • Publish to Neocities sends it straight to your Neocities site with your Neocities API key, one click each time.
    • Publish to GitHub sends it straight to GitHub Pages, one click each time after the first setup. GitHub can pass it on to Neocities, and Netlify or Cloudflare Pages can watch the same repository.
    • Download website (.zip) gives you the files to upload yourself, to Neocities or any host that takes a folder of web pages. You do this again each time you change the site.

Links to other notes stay links when those notes are published too. %% comments %% never go on the site. To show a note's likes and replies from Bluesky, add a bluesky property with the Bluesky post's address.

Publishing straight to Neocities

  1. Make a site at neocities.org. The free plan is plenty. The name you pick becomes the address: yourname.neocities.org.

  2. Copy your API key. On neocities.org, open Settings for your site, then API (or go to neocities.org/settings), and generate a key. Copy it.

  3. Paste it into wr1t3r. In Export as website, under Publish to Neocities, paste the key. Tick Remember the key on this device so you don't have to paste it again. Leave Include audio and video off; Neocities' free plan won't take those files.

  4. Click Publish to Neocities. wr1t3r sends the site and tells you its address.

Each time after that, choose Publish to Neocities from the globe menu (or the command palette). It opens Export as website and publishes straight away. It's there once you've ticked Remember the key on this device; otherwise click Publish to Neocities in Export as website again. Only the files that changed are sent, and pages you've unpublished are taken off your Neocities site. Files you put there yourself are left alone.

wr1t3r also learns your site's address this way, so your feed's links point to it and replies to your posts show up in Neighbors.

About the key: Neocities won't take uploads straight from a web page, so wr1t3r's server passes them on. Your key goes through it on the way to Neocities each time you publish, and isn't kept there. With Remember the key ticked, it's kept on your device only. To shut it off, generate a new key on neocities.org; the old one stops working.

If Neocities turns a file away, wr1t3r lists it and sends the rest.

Putting the site on Neocities by hand

  1. Make a site at neocities.org. The free plan is plenty. The name you pick becomes the address: yourname.neocities.org.

  2. Download the site from wr1t3r. In Export as website, click Download website (.zip). Leave Include audio and video off; Neocities' free plan won't take those files.

    Export as website after a download, with directions for putting the site on Neocities

  3. Unzip it. On a Mac, double-click the .zip. On Windows, right-click it and choose Extract All. You get a folder with index.html and the rest of the site inside.

  4. Upload the files. On Neocities, open your site's dashboard (Edit Site). Open the unzipped folder, select everything inside it, and drag it all onto the Neocities page. Folders go up with their contents. Your index.html replaces the one Neocities started you with.

  5. Visit yourname.neocities.org. That's your site.

Updating it

Download again and drag the new files in; they replace the old ones. Uploading doesn't delete anything, so when you unpublish a note, wr1t3r lists the pages to delete from your Neocities dashboard.

Putting the site on GitHub Pages

wr1t3r can send the site to GitHub itself, so there's nothing to unzip or drag. You do the setup once.

  1. Make a free account at github.com if you don't have one.

  2. Make a repository for the site: the + at the top right of GitHub, then New repository.

    • Name it what you like, say my-site. The site will be at yourname.github.io/my-site. Name it yourname.github.io instead and the site is at yourname.github.io itself.
    • Choose Public. GitHub Pages only works on public repositories on the free plan.
    • Nothing else needs ticking. Click Create repository.
  3. Make a token so wr1t3r can write to that one repository. Go to github.com/settings/personal-access-tokens/new (or your picture, Settings, Developer settings, Personal access tokens, Fine-grained tokens, Generate new token).

    • Name it wr1t3r and pick how long it lasts.
    • Under Repository access, choose Only select repositories and pick your site's repository.
    • Under Permissions, add Contents and Pages, and set both to Read and write. If you'll also send it on to Neocities, add Workflows as well, set to Read and write.
    • Click Generate token and copy it. GitHub only shows it once.
  4. Publish from wr1t3r. In Export as website, scroll to Publish to GitHub. Type the repository as yourname/my-site, leave the branch as main, paste the token, and click Publish to GitHub. Tick Remember the token on this device if you don't want to paste it each time.

    The Publish to GitHub part of Export as website: repo, branch and token filled in, and a message saying the site was published, with its address

  5. Wait a minute or two, then open the address wr1t3r shows. The first publish turns GitHub Pages on for you.

Updating it

Click Publish to GitHub again. Only files that changed are sent, and pages you've unpublished are removed. Anything else in the repository, like a README, is left alone.

If something goes wrong

The token goes from your browser straight to GitHub. wr1t3r never sees it or your site. If you tick Remember, it's kept in this browser only; you can delete the token on GitHub at any time.

Sending it on to Neocities from GitHub

If your site is on GitHub Pages too, you can send it on to Neocities from there instead of publishing straight to Neocities: one click publishes to GitHub Pages and your Neocities site together, and your Neocities key stays with GitHub. Set up GitHub Pages first, then:

  1. Copy your Neocities API key. On neocities.org, open Settings for your site, then API (or go to neocities.org/settings), and generate a key. Copy it.

  2. Give it to the repository as a secret. In your site's repository on GitHub, open Settings, then Secrets and variables, then Actions, and click New repository secret. Name it NEOCITIES_API_TOKEN and paste the key.

  3. Let the token add the step. Edit your wr1t3r token on GitHub (github.com/settings/personal-access-tokens) and add Workflows, set to Read and write.

  4. Tick Also send it to Neocities each time under Publish to GitHub, and click Publish to GitHub. wr1t3r adds a small file to the repository (.github/workflows/neocities.yml) that uploads the site to Neocities after every publish.

  5. Check it went. A minute or two later your Neocities site has the same pages. If it doesn't, open the repository's Actions tab on GitHub: a red mark there says what went wrong, usually a missing or mistyped secret. Fix it, then use Run workflow on that page, or publish again.

Untick the box and publish to stop sending to Neocities; wr1t3r takes the file out again. Like dragging files in by hand, this doesn't delete pages from Neocities, so remove unpublished pages from your Neocities dashboard. If you have a paid Neocities site and tick Include audio and video, those go too.

Cloudflare Pages, Netlify or Porkbun, from the same GitHub repo

These hosts can watch a GitHub repository and put each change online themselves. Publish to GitHub as above, then connect the host to your site's repository once. There's no build step anywhere: leave the build command empty and the output folder as the top of the repository. After that, every time you click Publish to GitHub, the host picks up the change.

You can also upload the unzipped folder to Cloudflare Pages or Netlify Drop by hand, the same way as Neocities.