/peergos-example-apps

A collection of example apps for running in Peergos

Primary LanguageJavaScript

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

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 recommended 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 html editor

Doc2Html. Convert .docx and .odt files to .html files

https://github.com/mwilliamson/mammoth.js/ github.com/xwiki-labs/office-converter

Document converter

Html2docx. Convert .html to .docx files

Document Viewer. View .docx and .odt files

Document viewer

LuckySheet Spreadsheet

data is stored in a a json formatted file with extension .sheet Can import to some degree xlsx, ods spreadsheet files Spreadsheet

.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

Drawing

Draw.io Diagramming and visualization. Edit .drawio files

Diagramming

Block-style editor. Based on editor.js. Edit .note files

Diagramming

TUI Image Editor

Image editor

PaintZ MS Paint clone

Paint

jspaint - Classic MS Paint clone

jspaint

TUI Markdown WYSIWYG Markdown Editor

Markdown editor

Tasks

Tasks

TodoMVC

Todo list

Scientific Calculator

calculator

Webamp - Winamp 2 implemented in JavaScript

Winamp

Audio Player - play all audio files in a folder

audio-player

Image Slideshow - view all image files in a folder

Image Slideshow

TiddlyWiki 5 - a non-linear personal web notebook

TiddlyWiki

Device Capture

DeviceCapture

VLC media player

VLC

Doom (Shareware) running inside jsdosbox

Doom

Astronomy sky map

Sky map

Chat-api

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

Chat-api

audio-recorder

audio recording app - incomplete and non-functional

ebook-reader

Read epub files

ebook-reader

email client

Example of using mailbox api

email-client

text-editor

very simple text-editor using a html textarea

Chess (over chat-api)

Chess

TicTacToe (over chat-api)

TicTacToe

file-picker

Example of how to use the file picker api call

folder-picker

Example of how to use the folder picker api call