Skip to content

About

A collection of example apps for running in Peergos

Resources

Stars

10 stars

Watchers

3 watching

Forks

Latest commit

 

History

162 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

example-apps

A collection of example apps for running in Peergos

If you stumbled here without knowing what Peergos is, try this:

Intro to Peergos

Peergos repository https://github.com/Peergos/peergos.

Installation

If you are self-hosting or have an account on peergos.net or peergos-demo.net

  1. click the launcher icon (top icon on left hand side menu)
  2. click custom apps button
  3. click install next to desired app

Manual instructions for additional/experimental apps

  1. From the top of this page click the green 'Code' button and select 'Download Zip'.
  2. Unzip file and upload desired application folder to Peergos
  3. Navigate into application folder, open the context menu for the file 'peergos-app.json' and choose 'Install App'
  4. Make sure to take note of the file associations and permissions requested
  5. Installed Apps are displayed on the Launcher page (top icon in left menu)

Developer documentation

CK-Editor

Rich text editor. Loads/Saves .html files See doc2html app below to convert other document formats to html

Doc2Html

Convert .docx and .odt files to .html files

Html2doc

Convert .html to .docx files

Document-Viewer

View .docx and .odt files

LuckySheet

Spreadsheet. Data is stored in a a json formatted file with extension .sheet

Can import to some degree xlsx, ods spreadsheet files

LuckySheet2Excel

Convert Luckysheet .sheet file to a Microsoft Excel xlsx file. Very experimental and not supported.

.docx extractor. Save content as .html (Formatting not preserved)

Before installing, download SaxonJS2.js from https://www.saxonica.com/saxon-js/index.xml and copy into assets folder

Tldraw

Drawing & Whiteboard. Edit .tldr files.

This is the original 2021-2022 version, released under MIT.

Draw.io

Diagramming and visualization. Edit .drawio files

Based on release 21.2.7 - May 3 2023, licensed under Apache v2

Notes

Block-style editor. Edit .note files

Plain Notes

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.

Passwords

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.

Mini-photo-editor

TUI-Image-Editor

PaintZ

MS Paint clone

jspaint

Classic MS Paint clone

TUI-Markdown

WYSIWYG Markdown Editor

Todo

Address Book

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.

Tasks

TodoMVC

Calculator

Webamp

Winamp 2 implemented in JavaScript

Audio Player

Play all audio files in a folder

Image Slideshow

View all image files in a folder

TiddlyWiki

A non-linear personal web notebook

Device Capture

VLC.js

Media player

Doom (Shareware)

Doom running inside jsdosbox emulator

Astronomy sky map

Chat-api

Example of how to use the chat-api for App communication (eg multi-player games)

Chat

Example of how to use the chat-api (v1)

audio-recorder

audio recording app - incomplete and non-functional

ebook-reader

Read epub files

email-client

Example of using mailbox api

pretty-diff

Display the difference between two text files

image-viewer

Display/Rotate/Scale an image file

Sudoku

Play Sudoku

Projectify

Project management app for TiddlyWiki:

Feather-Wiki

A tiny tool for simple, self-contained wikis

Album

Create shareable albums

Photo-roll

Like Album app above, but only one instance of this app can be installed. Supports HEIC files

Forum

Create forums

Exiftool

Read media file metadata using Exiftool compiled to webassembly

Media-metadata-scrubber

Supported metadata only: TIFF, EXIF, GPS

Pandoc

Pandoc compiled to webassembly. Not all conversions currently supported

Heic2jpg

Decode and export HEIC image files to JPG using libheif compiled to webassembly

WebOffice

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.

File2PDF

Convert file to PDF

text-editor

very simple text-editor using a html textarea

Chess

Chess over chat-api

TicTacToe

TicTacToe over chat-api

file-picker

Example of how to use the file picker api call

folder-picker

Example of how to use the folder picker api call

About

A collection of example apps for running in Peergos

Resources

Stars

10 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages