A collection of example apps for running in Peergos
If you stumbled here without knowing what Peergos is, try this:
Peergos repository https://github.com/Peergos/peergos.
If you are self-hosting or have an account on peergos.net or peergos-demo.net
- click the launcher icon (top icon on left hand side menu)
- click custom apps button
- click install next to desired app
Manual instructions for additional/experimental apps
- From the top of this page click the green 'Code' button and select 'Download Zip'.
- Unzip file and upload desired application folder to Peergos
- Navigate into application folder, open the context menu for the file 'peergos-app.json' and choose 'Install App'
- Make sure to take note of the file associations and permissions requested
- Installed Apps are displayed on the Launcher page (top icon in left menu)
Rich text editor. Loads/Saves .html files See doc2html app below to convert other document formats to html
Convert .docx and .odt files to .html files
Convert .html to .docx files
View .docx and .odt files
Spreadsheet. Data is stored in a a json formatted file with extension .sheet
Can import to some degree xlsx, ods spreadsheet files
Convert Luckysheet .sheet file to a Microsoft Excel xlsx file. Very experimental and not supported.
Before installing, download SaxonJS2.js from https://www.saxonica.com/saxon-js/index.xml and copy into assets folder
Drawing & Whiteboard. Edit .tldr files.
This is the original 2021-2022 version, released under MIT.
Diagramming and visualization. Edit .drawio files
Based on release 21.2.7 - May 3 2023, licensed under Apache v2
Block-style editor. Edit .note files
Plain text notes, each a .txt file in a folder of your Drive that you choose once in Peergos' folder picker - so the notes can be shared, synced to your devices and opened in other apps. A note's title is its file name. Needs no manifest permission: the picker is the consent. Rename and move keep a note's sharing on a Peergos with the folder API's rename and move; on an older one a rename is a copy and a delete. Its text follows the Peergos language (lang param, else navigator.language); the strings are in assets/i18n.js.
A password manager: logins, cards, identities, secure notes and SSH keys, the item types Bitwarden's apps offer, kept as one vault.json in the app's own data folder (STORE_APP_DATA), with attachments beside it. Each item is stored as Bitwarden's plain JSON export writes it, so importing a Bitwarden .json or .zip and exporting again loses nothing (a vault that holds both folders and an organisation's collections gives Bitwarden its folders, as Bitwarden reads only one of the two, and keeps the collections under peergosCollections for this app). Attachments of up to 500 MB each can be added to any item, and come in with a Bitwarden .zip or this app's own. An item of a type Bitwarden hasn't released yet (bank account, driver's licence, passport) shows its name, notes, custom fields and attachments, which can be edited, and the rest of it is kept as it came. The app also imports Bitwarden's password-protected .json (the key made with PBKDF2, or Argon2id from hash-wasm 4.12.0, MIT) and Bitwarden and KeePassXC CSV. Folders can be made, renamed and deleted, and a login's password made with a generator like Bitwarden's. One-time codes (RFC 6238, with WebCrypto) are shown with a countdown; a key is added by typing it, or from a photo, screenshot or pasted picture of its QR code (read with jsQR 1.4.0, Apache v2), and a list of otpauth:// links goes to and from Aegis and other authenticator apps. Before every save the vault is read again and only the change is applied, so an edit from another device is kept, and the save is sent with the read's ETag in If-Match, so on a Peergos that honours it a save from another device at the same moment isn't lost either; an item changed on another device since it was opened for editing isn't written over, but kept beside the new version if the user chooses. Exports, and attachments saved from their items, go into the home folder through Peergos' save API, named with the time to the second, as an older Peergos replaces a file of the same name there without asking; KeePassXC 2.8 imports the logins, cards, identities and notes from the .json export, but of SSH keys, bank accounts, driver's licences and passports it keeps only the name, notes and custom fields, and it reads a Bitwarden Steam Guard key wrongly; the export says so. Its text follows the Peergos language (lang param, else navigator.language); the strings are in assets/i18n.js.
MS Paint clone
Classic MS Paint clone
WYSIWYG Markdown Editor
Manage contacts in multiple address books. Uses the MANAGE_CONTACTS permission, so it reads and writes the same contacts that Peergos serves over CardDAV to phones and desktop clients. Contacts can be imported from .vcf files.
Winamp 2 implemented in JavaScript
Play all audio files in a folder
View all image files in a folder
A non-linear personal web notebook
Media player
Doom running inside jsdosbox emulator
Example of how to use the chat-api for App communication (eg multi-player games)
Example of how to use the chat-api (v1)
audio recording app - incomplete and non-functional
Read epub files
Example of using mailbox api
Display the difference between two text files
Display/Rotate/Scale an image file
Play Sudoku
Project management app for TiddlyWiki:
A tiny tool for simple, self-contained wikis
Create shareable albums
Like Album app above, but only one instance of this app can be installed. Supports HEIC files
Create forums
Read media file metadata using Exiftool compiled to webassembly
Supported metadata only: TIFF, EXIF, GPS
Pandoc compiled to webassembly. Not all conversions currently supported
Decode and export HEIC image files to JPG using libheif compiled to webassembly
Office suite based on ZetaJS / LibreOffice
The UI follows the Peergos language (lang param, else navigator.language). LibreOffice translations are loaded on demand from assets/lang/<lang>.data, built from the official LibreOffice langpacks by weboffice/tools/make-langpack.py (pip install brotli fonttools, then python3 make-langpack.py de el es fr it ko nl pl zh-CN). The zh-CN and ko packs include a subset Noto Sans CJK font. The wrapper's own strings are in assets/i18n.js.
Convert file to PDF
very simple text-editor using a html textarea
Chess over chat-api
TicTacToe over chat-api
Example of how to use the file picker api call
Example of how to use the folder picker api call
