Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

Commit 4fe3a33

Browse files
Merge remote-tracking branch 'origin/master' into ssb-legacy-conn
2 parents d067143 + c76136f commit 4fe3a33

File tree

207 files changed

+8824
-6118
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

207 files changed

+8824
-6118
lines changed

.github/stale.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1 @@
11
_extends: .github
2-
3-
# Issues with these labels will never be considered stale
4-
# This overrides `exemptLabels` from https://github:ssbc/.github
5-
exemptLabels:
6-
- pinned
7-
- security
8-
- enhancement
9-
- bug
10-
- performance
11-

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
node_modules
2+
dist
23

34
# Mac OS metadata file
45
.DS_Store

.travis.yml

Lines changed: 41 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,46 @@
1-
sudo: false
1+
matrix:
2+
include:
3+
- os: osx
4+
osx_image: xcode9.4
5+
language: node_js
6+
node_js: lts/*
7+
env:
8+
- ELECTRON_CACHE=$HOME/.cache/electron
9+
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
10+
11+
- os: linux
12+
language: node_js
13+
node_js: lts/*
214

3-
language: node_js
15+
- os: windows
16+
language: node_js
17+
node_js: lts/*
18+
filter_secrets: false
19+
20+
cache:
21+
directories:
22+
- $HOME/.npm
23+
- $HOME/.cache/electron
24+
- $HOME/.cache/electron-builder
425

526
before_install:
6-
- npm install -g npm@latest
7-
- sudo apt-get -qq update
8-
- sudo apt-get install -y g++ m4 libtool automake libgconf-2-4 # build tools
9-
- sudo apt-get install -y libxext-dev libxtst-dev libxkbfile-dev # spellchecker headers
27+
- |
28+
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
29+
sudo apt-get install \
30+
automake \
31+
libgconf-2-4 \
32+
libtool \
33+
libxext-dev \
34+
libxkbfile-dev \
35+
libxtst-dev
36+
else
37+
npm uninstall --save mouse-forward-back
38+
fi
39+
40+
script: npm test && npm run dist
1041

11-
node_js:
12-
- 4
13-
- 5
14-
- 6
15-
- 7
16-
- stable
1742

18-
script:
19-
- pwd # run no-op to prevent failure from no tests
43+
branches:
44+
only:
45+
- master
46+
- "/^v\\d+\\.\\d+\\.\\d+$/"

.vscode/settings.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"abouts",
55
"backlinks",
66
"depnest",
7-
"emojilib",
87
"flatpickr",
98
"msgs",
109
"paramap",
@@ -18,4 +17,4 @@
1817
],
1918
"standard.autoFixOnSave": true,
2019
"editor.tabSize": 2
21-
}
20+
}

README.md

Lines changed: 54 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -1,103 +1,69 @@
1-
<h1 align="center">
2-
<img
3-
alt="Patchwork icon"
4-
src="https://github.com/ssbc/patchwork/blob/0465f406357cec9cdb8d821f68758d7ab8ef41cf/assets/icon.png"
5-
width="256"
6-
height="256"
7-
/>
8-
<br />
9-
Patchwork
10-
</h1>
1+
# Patchwork
112

12-
<h4 align="center">
13-
A decentralized messaging and sharing app built on top of Secure Scuttlebutt (SSB).
14-
</h4>
3+
> A decentralized messaging and sharing app built on top of Secure Scuttlebutt (SSB).
154
16-
![Patchwork screenshot](screenshot.jpg)
5+
- Connect with friends without depending on any central servers.
6+
- Don't worry about spam, you only get messages from people you follow.
7+
- Use Patchwork online or offline, the data you need is stored on your device.
8+
- Sync messages with friends when you're on the same Wi-Fi network.
9+
- Keep secrets with private messages, which are *always* end-to-end encrypted.
10+
- Change and improve Patchwork however you'd like, it's free and open source.
1711

18-
<details>
19-
<summary>Table of Contents</summary>
20-
<li><a href="#features">Features</a></li>
21-
<li><a href="#pubs">Pubs</a></li>
22-
<li><a href="#install">Install</a></li>
23-
<li><a href="#docs">Docs</a></li>
24-
</details>
12+
## Usage
2513

26-
## Features
14+
![Screenshot of Patchwork][screenshot]
2715

28-
It's better than email because:
16+
New to Scuttlebutt? Join the network by connecting to a [pub][pub].
2917

30-
- Private messages are end-to-end encrypted, always.
31-
- You have to follow somebody to get messages from them, so you won't get spammed.
32-
- Your mail can be public broadcasts or private, and you'll only see replies by people you follow.
33-
- The datastructure is a global mesh of append-only logs, which can support new types of data (not just "mail").
34-
- Users are not bound to one server/host (what we call "Pubs") and do not have to trust the servers.
35-
- It's very easy to setup and maintain your own Pub.
18+
1. Choose a pub from the [pub list][pub-list] and copy an invite code.
19+
2. Open Patchwork and select *Join Pub*.
20+
3. Paste the invite code and select *Redeem Invite*.
3621

37-
It's better than Twitter and Facebook because:
22+
You're done! Check out `#new-people` to see who else has recently joined.
3823

39-
- Private messages are end-to-end encrypted, always.
40-
- The software runs on your device, so there's nobody tracking your browsing.
41-
- The application code is FOSS, so you're free to fork or write new applications without a gatekeeper setting terms.
42-
- Data is saved to your disk, and so the application works offline.
43-
- You can sync directly with friends over Wi-Fi.
24+
## Installation
4425

45-
## Pubs
26+
Most people should **[download Patchwork for Windows, macOS, or Linux][gh-dl]**.
4627

47-
In order to gossip outside your local network, you'll need to connect to a [Pub](https://www.scuttlebutt.nz/concepts/pub.html).
28+
Alternatively, you can install Patchwork with your favorite package manager.
4829

49-
You can find an invite to an available pub at the [Pub servers registry](https://github.com/ssbc/ssb-server/wiki/Pub-Servers).
30+
- **[npm][npm]:** `npm install --global ssb-patchwork`
31+
- **[yarn][yarn]:** `yarn global add ssb-patchwork`
32+
- **[yay][yay]:** `yay -S ssb-patchwork`
5033

51-
Get an invite, then in `patchwork`: click "+ Join Pub" and paste the invite code.
52-
53-
This will cause you to follow the Pub and vice versa. If you haven't synchronized to this social network yet, prepare to wait a few minutes while your local server synchronizes.
54-
55-
## Install
56-
57-
### Download installers for Windows, macOS and Linux
58-
59-
See [patchwork/releases](https://github.com/ssbc/patchwork/releases)
60-
61-
### Or build from source
62-
63-
With node (>= 4) and npm (>= 3) installed:
64-
65-
```shell
66-
$ git clone https://github.com/ssbc/patchwork
67-
$ cd patchwork
68-
$ npm install
69-
$ npm start
70-
```
71-
72-
You'll need some more dependencies to build.
73-
74-
On Debian Linux:
75-
76-
```shell
77-
sudo apt-get install g++ m4 libtool automake libgconf-2-4 # build tools
78-
sudo apt-get install libxext-dev libxtst-dev libxkbfile-dev # spellchecker headers
79-
```
80-
81-
On Fedora Linux:
82-
83-
```shell
84-
sudo dnf install libXext-devel libXtst-devel libxkbfile-devel gcc-c++ m4 automake libtool
85-
```
86-
87-
On macOS:
88-
89-
```shell
90-
brew install libtool automake # build tools
91-
```
92-
93-
## Code of conduct
94-
95-
Please note that this project is released with a [Contributor Code of Conduct](code-of-conduct.md). By participating in this project you agree to abide by its terms.
34+
Building from source? Check out [`INSTALL.md`][install] for more information.
9635

9736
## Contributing
9837

99-
Please read the [Patchwork Contribution Guidelines](contributing.md) before opening a pull request.
100-
101-
## Docs
102-
103-
- [scuttlebutt.nz](https://www.scuttlebutt.nz)
38+
Create a [new issue][new-issue] to report problems or request features. See
39+
[`CONTRIBUTING.md`][contributing] for more information on how to get involved.
40+
41+
Please note that this project is released with a [Contributor Code of
42+
Conduct][conduct]. By participating in this project you agree to abide by its
43+
terms.
44+
45+
## See Also
46+
47+
- [patchbay][patchbay]
48+
- [ssb-server][ssb-server]
49+
- [manyverse][manyverse]
50+
51+
## License
52+
53+
[AGPL-3.0][license]
54+
55+
[conduct]: docs/CODE_OF_CONDUCT.md
56+
[contributing]: docs/CONTRIBUTING.md
57+
[gh-dl]: https://github.com/ssbc/patchwork/releases/latest
58+
[install]: docs/INSTALL.md
59+
[license]: LICENSE
60+
[manyverse]: https://gitlab.com/staltz/manyverse
61+
[new-issue]: https://github.com/fraction/readme-boilerplate/issues/new
62+
[npm]: https://npmjs.org/
63+
[patchbay]: https://github.com/ssbc/patchbay
64+
[pub-list]: https://github.com/ssbc/ssb-server/wiki/Pub-Servers
65+
[pub]: https://www.scuttlebutt.nz/concepts/pub.html
66+
[screenshot]: assets/screenshot.jpg
67+
[ssb-server]: https://github.com/ssbc/ssb-server
68+
[yarn]: https://yarnpkg.com/en/
69+
[yay]: https://github.com/Jguer/yay

assets/img/emoji

Lines changed: 0 additions & 1 deletion
This file was deleted.
File renamed without changes.

build/background.png

13.2 KB
Loading

build/[email protected]

29.2 KB
Loading

build/dmg/icon.icns

259 KB
Binary file not shown.

0 commit comments

Comments
 (0)