Skip to content

About

The website of IPAForge, ipaforge.com: install SideStore and your apps on iPhone and iPad from Windows, macOS and Linux.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

ipaforge.com

The website of IPAForge, the free, open-source desktop app that installs SideStore and your own apps onto iPhone and iPad from Windows, macOS and Linux.

Live at https://ipaforge.com.

Pages

Page Made from
/ src/pages/home.html, by hand
/install/ docs/installing.md in IPAForge/ipaforge; a language's own guide is src/guides/<lang>/installing.md here
/troubleshooting/ every error the app shows, from the app's own locale files (packages/ui/src/locales/<lang>.json) in IPAForge/ipaforge
/releases/ docs/releases/*.md in IPAForge/ipaforge, with the dates from its GitHub releases
/faq/ faq.items in src/i18n/<lang>.json (the landing page shows its first questions)

Languages

Every language with a file in src/i18n/ gets every page: English at the root, every other language under its code (/de/, /de/install/, /de/troubleshooting/, /de/releases/, /de/faq/). The translations are made by pull request (Translations in the app's repository); /translate/ sends visitors there.

  • src/i18n/en.json is the source: every string the pages and their scripts show. A string another language doesn't have yet falls back to English.
  • Troubleshooting uses the app's own translations of its errors, so a language the app has needs nothing more there.
  • Install is the app's English guide (docs/installing.md), or a language's own, src/guides/<lang>/installing.md: write its links as if the file sat in docs/i18n/<lang>/ of the app (../../device.md). Its headings take the English page's anchors in order, so links to a section work in every language.
  • src/pages/home.html holds the landing page's markup, with {{key}} where a string goes.
  • Each page names its other languages for search engines (hreflang, and in sitemap.xml), and the top bar has a menu to switch.

A language's file is src/i18n/<code>.json (the code the app uses). The site publishes a language only once at least 90 % of its strings are translated (MIN_COMPLETION in src/i18n/index.mjs); the build lists the others and how far each is. Right-to-left languages (Arabic, Hebrew, Persian, Urdu) get dir="rtl".

The docs pages are made from the app's repository, so they say what the app says: change docs/installing.md there, and the site follows on its next deploy.

How it's built

scripts/build.mjs writes the whole site into dist/: every page in every language in one layout (the top bar, the docs sidebar, the footer), the sitemap, and the static files. No framework: plain HTML, CSS and a little JavaScript.

  • assets/css/tokens.css: every colour, size and space, light and dark. base.css (shared), home.css and docs.css build on it.
  • assets/js/: the theme switch (site.js), the landing page's screens and newest release (home.js), the docs' page picker and error search (docs.js). Their text comes from the page, in its language (#strings, written by the build).
  • img/: the icon (SVG, and PNGs at 48, 96, 192 and 512 px) and screenshots of the app, light and dark. favicon.ico (16, 32, 48 px) and site.webmanifest for browsers and search results. og.png: the preview shown when a link is shared.
  • Search engines get structured data on every page (structuredData in the build): the site's name and logo and the app (with its newest version and screenshots) on /, a breadcrumb and the page itself (a TechArticle for the guides, the FAQ's questions) on the docs pages, and an Atom feed of the releases at /releases/feed.xml.
  • CNAME: the domain. google0b5838584fd20e84.html: Google Search Console's ownership check; keep it.

Deploying

.github/workflows/deploy.yml builds the site and publishes it to GitHub Pages (Settings › Pages › Source: GitHub Actions). It runs:

  • on every push to main;
  • when IPAForge publishes a release: its release workflow sends this repository an app-released event;
  • by hand, from the Actions tab.

Locally

With a checkout of IPAForge/ipaforge next to this one:

npm install
CONTENT_DIR=../ipaforge npm run build
npm run preview   # http://localhost:4321

About

The website of IPAForge, ipaforge.com: install SideStore and your apps on iPhone and iPad from Windows, macOS and Linux.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages