Mirror of https://github.com/fraction/oasis.git to build Docker images 🙈
Go to file
Christian Bundy 3758bbf636 Simplify installation
Problem: The install instructions in the readme contains quotes because
it has a `*`, but `#semver:` does what we need without the quotes. The
`docs/install.md` file also has some unnecessary complexity, like
cloning via SSH (only useful for maintainers), which I think we can
safely remove.

Solution: Change the install instruction and reorganize
`docs/install.md` to be more relevant to people who are installing from
source.
2020-02-29 08:31:07 -08:00
.github Remove references to npm registry publish 2020-02-17 16:40:53 -08:00
contrib Experiment with common-good module 2020-01-21 16:22:19 -08:00
docs Simplify installation 2020-02-29 08:31:07 -08:00
scripts Add release script 2019-12-29 13:51:57 -08:00
src Merge pull request #270 from christianbundy/fix-extended 2020-02-28 14:53:28 -08:00
.cspell.json Simplify installation 2020-02-29 08:31:07 -08:00
.dockerignore Add support for running oasis in a docker container 2020-01-01 10:07:41 -05:00
.eslintrc.js Experiment with common-good module 2020-01-21 16:22:19 -08:00
.gitignore Add VSCode files to gitignore 2020-02-17 12:57:38 +01:00
.huskyrc Fix Travis CI on Windows 2019-09-16 15:50:03 -07:00
.npmignore Add npmignore 2019-10-31 15:25:05 -07:00
.stylelintrc Experiment with common-good module 2020-01-21 16:22:19 -08:00
.travis.yml Specify exact Node.js engine support and test it 2020-01-31 10:59:10 -08:00
CHANGELOG.md 2.11.0 2020-01-16 11:58:00 -08:00
LICENSE Add LICENSE file (for AGPL-3.0) 2020-01-28 17:45:00 -08:00
README.md Simplify installation 2020-02-29 08:31:07 -08:00
package-lock.json Read settings from ~/.config/oasis/config.json 2020-02-22 10:32:50 +01:00
package.json Read settings from ~/.config/oasis/config.json 2020-02-22 10:32:50 +01:00

README.md

Oasis

Oasis is a free, open-source, peer-to-peer social application that helps you follow friends and discover new ones on Secure Scuttlebutt (SSB).

🦀 Powered by SSB.
You're the center of your own distributed network. Online or offline, SSB works anywhere that you are. Follow the people you want to see and never worry about spam again. Migrate your data to another SSB app any time you want.

🌐 Bring your own browser.
Use your favorite web browser to read and write messages to the people you care about. Oasis runs over HTTP, so you don't need to worry about adding another Electron app to your computer.

🏰 Just HTML and CSS.
No browser JavaScript! Oasis has strict security rules that prevent any JavaScript from running in your browser, which helps us make Oasis accessible and easy to improve.

Screenshot of Oasis

Usage

Start Oasis from a command-line interface with the oasis command.

$ oasis --help
Usage: oasis [options]

Options:
  --version   Show version number                                      [boolean]
  -h, --help  Show help                                                [boolean]
  --open      Automatically open app in web browser. Use --no-open to disable.
                                                       [boolean] [default: true]
  --offline   Don't try to connect to scuttlebutt peers or pubs. This can be
              changed on the 'settings' page while Oasis is running.
                                                      [boolean] [default: false]
  --host      Hostname for web app to listen on  [string] [default: "localhost"]
  --port      Port for web app to listen on             [number] [default: 3000]
  --debug     Use verbose output for debugging        [boolean] [default: false]
  -c --config Show current default configuration      [boolean] [default: false]

Configuration

The above options can be permanently set with a configuration file found in a standard folder for configuration, depending on your operating system:

  • Linux: $XDG_CONFIG_HOME/oasis/default.json. Usually this is /home/<your username>/.config/oasis/default.json
  • Windows %APPDATA%\oasis\default.json.
  • Mac OS, /Users/<your username>/Library/Preferences/oasis/default.json

The configuration file can override any or all of the command-line defaults. Here is an example customizing the port number and the "open" settings:

{
  "open": false,
  "port": 19192
}

Configuration Semantics

Which value is given is decided like this:

  1. If an argument is given on the command-line, use that value.
  2. Otherwise, use the value from the configuration file if present.
  3. If neither command-line nor configuration file are given, use the built-in default value.

Installation

Most people should install stable releases with npm and Node.js current or active LTS release.

npm -g install fraction/oasis#semver:

For faster updates and less stability, install from GitHub and upgrade often.

npm -g install fraction/oasis

Want more? Check out install.md.

Resources

See Also

License

AGPL-3.0