Opachii.studio

Opachii Studio — Simple Article Publisher

What to upload to GitHub Pages

Upload index.html, article.html, assets/, and data/ to the root of your existing GitHub repository. Keep your existing CNAME. These are the public website files.

What to keep private

Keep publisher.html on your own computer. Do not upload it to your public GitHub repository. Double-click publisher.html to open it in your browser.

Publishing

  1. In GitHub, create a fine-grained personal access token scoped only to wowgoldenroutes/Opachii.studio with Contents read/write permission. Treat it like a password.
  2. Open publisher.html locally in Chrome or Edge. Enter the token in GitHub connection. It is held in page memory for the session, not saved.
  3. Write an article, add text and photos, choose a category, and click Publish article.
  4. The editor uploads photos to assets/uploads/ and adds the article to data/articles.json. Your homepage shows the three latest posts per category, and each post has its own article URL.

Notes