| controllers | let there be code | |
| lib | let there be code | |
| tests | let there be code | |
| views | let there be code | |
| .gitignore | let there be code | |
| .npmrc | let there be code | |
| app.js | let there be code | |
| config.default.json | let there be code | |
| index-dev.html | let there be code | |
| LICENSE | let there be code | |
| package.json | let there be code | |
| README.md | let there be code | |
| scrot.png | let there be code | |
peercal-web
A p2p calendar for the browser.
NOTE Very much a work in progress. You will not be able to do much yet but to flip between months.
Goals
- Simplicity: Clean design with only a minimum of features
- Decentralized event data via
hyperdriveandhyper://links - Support for
iCalendarformat (.icsfiles) -RFC5545
Usage
Get the code, install and run:
$ git clone https://github.com/peercal/peercal-web.git
$ cd peercal-web
$ npm install
$ npm start
Open the browser at http://localhost:7777.
Instances
Some examples of running instances:
Build
Running npm run build will result in a public/ folder with static content that you can serve with a web server of your choice.
Configuration
There's a default configuration in config.default.json that can be overridden by providing your own config.json. The following can be configured:
feeds
Array of hardcoded read only calendar feeds, which can't be deleted by the user. Useful to define for your own organization where you want your users to always have a particular set of feeds available.
Each item in the array can have the following properties:
url(string, required) Ahyper://address to the feedbackground(string, optional) The background color of the feedcolor(string, optional) The text color of the feed
swarmOpts
Configuration object passed to hyperswarm-web for bootstrapping websocket and webrtc connections. It has the following properties:
bootstrap(array of strings, required) List ofhyperswarm-webservers
License
Licensed under GPL-3.0-or-later, see LICENSE file for details.