Skip to content

Commit

Permalink
Merge pull request #1527 from klembot/add-pwa
Browse files Browse the repository at this point in the history
Add basic PWA support
  • Loading branch information
klembot authored Jun 16, 2024
2 parents f38b9b0 + 6a62a8e commit f6306d8
Show file tree
Hide file tree
Showing 11 changed files with 1,029 additions and 172 deletions.
6 changes: 6 additions & 0 deletions docs/en/src/getting-started/installing.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ site data."
Keeping backups regularly is a must if you use browser Twine. See [Archiving and
Exporting Stories](../story-library/exporting.md) for how to do this.

Browser Twine can be installed as a progressive web application (PWA). For
information on how to do this, please check your browser's documentation. Using
Twine as a PWA means that it will be available even when you don't have an
network connection, but you should still keep regular backups, as PWAs are still
subject to having their data being erased when clearing browsing data.

### iOS Browsers

**If you want to use Twine on iOS, you must [add it your Home
Expand Down
16 changes: 16 additions & 0 deletions icons/app-pwa-maskable.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/app-pwa.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions icons/app-pwa.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<title>Twine</title>
<link rel="icon" href="icons/favicon.svg" type="image/svg+xml">
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
Loading

0 comments on commit f6306d8

Please sign in to comment.