Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
7c4d391
wip
soapdog Apr 1, 2022
3b211ca
wip for Journal app
soapdog Apr 1, 2022
6b8c258
escape the browser wip
soapdog May 23, 2022
b3f23f5
escaping the browser, we’re escaping the browser…
soapdog May 23, 2022
e2be2e9
wip escaping the browser
soapdog May 25, 2022
2d6a3ff
rework for desktop.
soapdog May 26, 2022
a5d1911
small fixes
soapdog May 27, 2022
ca72663
profile works except for the editor
soapdog May 27, 2022
20b5c65
maybe fix?
soapdog May 27, 2022
78fa43a
new components, profile editor works.
soapdog May 29, 2022
55a244d
Profile editor is working.
soapdog May 30, 2022
ae01923
Adding avatar image works
soapdog May 30, 2022
5428ddf
fixing avatar listing, vote counter.
soapdog May 30, 2022
8726b25
better vote counter
soapdog May 30, 2022
8ea9816
better votecounter, middle clicks work on AvatarMenuItem
soapdog May 30, 2022
4386d21
new generic avatarClick
soapdog May 30, 2022
b459866
better avatar tile, better avatarclick.
soapdog May 30, 2022
1cd1174
launcher opens and closes.
soapdog May 31, 2022
60d0ac1
errorHandler kinda works.
soapdog May 31, 2022
fc013d1
gambis.
soapdog May 31, 2022
9e86a0e
history is broken.
soapdog May 31, 2022
444c9dd
[[ post ]] posting new messages work.
soapdog Jun 8, 2022
4dcabe7
[[ app ]] taller window.
soapdog Jun 8, 2022
30a0dd0
[[ MessageRaw ]] better package name.
soapdog Jun 8, 2022
a9648f0
[[ globalMenu ]] add reload button.
soapdog Jun 18, 2022
a53bb90
[[ Themes ]] Theme switcher is back.
soapdog Jun 18, 2022
8b4e969
[[ AvatarChip ]] better css
soapdog Jun 18, 2022
6c659af
[[ Post ]] better formatting on compose.
soapdog Jun 18, 2022
70e018f
[[ Themes ]] Reloading theme from prefs works
soapdog Jun 18, 2022
67efb49
testing new menus
soapdog Jul 11, 2022
a4b22f8
wrong node version.
soapdog Jul 11, 2022
7e30e3d
wip: working on books package. implemented menu.
soapdog Jul 15, 2022
7e27006
server started working. popular view fixed.
soapdog Aug 10, 2022
d0363d6
maybe now it works on remote build.
soapdog Aug 10, 2022
afd2508
universal builds working.
soapdog Aug 10, 2022
cc4decd
better peer count
soapdog Aug 11, 2022
1ff1e47
reindexing window.
soapdog Aug 19, 2022
dd2edbe
improvements to header, ui, peers
soapdog Aug 21, 2022
22671ad
working pagination in channels
soapdog Aug 21, 2022
4ab12f0
better pagination in all hub views
soapdog Aug 21, 2022
fbf4214
fix broken image
soapdog Aug 21, 2022
0eda487
fix broken time label
soapdog Aug 21, 2022
82dbea3
vote counter updates when like changes.
soapdog Aug 21, 2022
2f6909a
removing some console junk
soapdog Aug 21, 2022
2128b47
version bump
soapdog Aug 21, 2022
5dbe021
removed deb generation
soapdog Aug 21, 2022
81dfa38
better package list in docs
soapdog Aug 21, 2022
e54f3b8
[[hub]] subscription toggle displays correctly on channel view.
soapdog Aug 21, 2022
8680819
[[hub]] filtering public timeline
soapdog Aug 21, 2022
ca856a9
[[contacts]] better usage of screen space in profile view
soapdog Aug 21, 2022
ccf8ba3
[[hub]] small tweak to page titles
soapdog Aug 21, 2022
cec41a8
[[wm]] scroll back to top when switching packages.
soapdog Aug 21, 2022
2f3530c
[[wm]] made the current package a `mithril keyed component`, this mak…
soapdog Aug 21, 2022
dd0ad85
[[hub]] switching social filters should clear pagination position.
soapdog Aug 21, 2022
a547ca0
[[ssb] fix to include yourself when doing social filtering.
soapdog Aug 21, 2022
e801c7a
[[blog]] blogs are working again
soapdog Aug 21, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
34 changes: 34 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build/release

on: push

jobs:
release:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]

steps:
- name: Check out Git repository
uses: actions/checkout@v1

- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
node-version: 16

- name: Build/release Electron app
uses: samuelmeuli/action-electron-builder@v1
with:
# GitHub token, automatically provided to the action
# (No need to define this secret in the repo settings)
github_token: ${{ secrets.github_token }}

# If the commit is tagged with a version (e.g. "v1.0.0"),
# release the app after building
release: ${{ startsWith(github.ref, 'refs/tags/v') }}

# Maybe this works
args: "--config electron-builder.config.js"
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,16 @@ node_modules
web-ext-artifacts
*.zip
old-src
build

\#*
.vscode
test/
old/
desktop-old/

*.sublime-workspace
.vscode
reference-*

*.tgz
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

First and foremost, thanks a lot for the interest in contributing to this little project. We really appreciate that.

Your first stop is the [development documentation](https://patchfox.org/development). It will explain how the source-code is organised, and how _packages_ — the fundamental module unit of Patchfox — work.
Your first stop is the [development documentation](https://patchfox.org/index.html#/development). It will explain how the source code is organised, and how _packages_ — the fundamental module unit of Patchfox — work.

The [issue tracker](https://github.com/soapdog/patchfox/issues) lists all fixes and enhancements that are currently on track. Feel free to browse them and reach out if you'd like to help with any specific issue. Also, don't be discouraged from playing with the code and working on something that is not on the issue list.

Expand Down
43 changes: 15 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,42 +1,40 @@
# Patchfox
This is a new client for [Secure Scuttlebutt](http://scuttlebutt.nz) packaged as a Web Extension. This is a new client for [Secure Scuttlebutt](http://scuttlebutt.nz) packaged as a Web Extension for Firefox. It is available on:

* [Firefox Add-ons Portal](https://addons.mozilla.org/en-US/firefox/addon/patchfox/)
* [Chrome Web Store](https://chrome.google.com/webstore/detail/patchfox/ocanekmedfooidiahhelofknmpobdmdp?hl=en-GB&authuser=0)
[![Build/release](https://github.com/soapdog/patchfox/actions/workflows/build.yml/badge.svg?branch=master)](https://github.com/soapdog/patchfox/actions/workflows/build.yml)

So if you just want to run it, that's the easiest way. Read on if you want to develop with it. Read on if you want to develop with it.
This is a client for [Secure Scuttlebutt](http://scuttlebutt.nz). It is available on:

## Requirements
* [Patchfox website](https://patchfox.org)
* [Github release pages](https://github.com/soapdog/patchfox/releases)

* [Firefox Developer Edition](https://www.mozilla.org/en-US/firefox/developer/) or [Firefox Nightly](https://www.mozilla.org/en-US/firefox/nightly/) (needed so that you can sideload unsigned add-ons)
* [Scuttle Shell](https://github.com/ssbc/scuttle-shell). This is a soft requirement. You can use your own _sbot_ or even have another client such as [Patchwork](http://github.com/ssbc/patchwork) or [Patchbay](http://github.com/ssbc/patchbay) running and providing a running _sbot_.
## Patchfox has a rich set of documentation

Head over to the [Patchfox website](https://patchfox.org) for the documentation.

## Requirements for development

* [NodeJS](https://nodejs.org)

## Setup & Building

Patchfox uses [Svelte](https://svelte.technology) and requires [NodeJS](https://nodejs.org) for development. After you have NodeJS installed, you can install the dependencies with:
Patchfox uses [Mithril](https://mithril.js.org), [Electron](https://electronjs.org) and requires [NodeJS](https://nodejs.org) for development. After you have NodeJS installed, you can install the dependencies with:

```
$ npm install
```

And build the add-on with:
And run a development version of the app using:

```
$ npm run clean-build
$ npm run start
```

If you use:
To build use:

```
$ npm run clean-dev
$ npm run build
```

It will build the add-on using sourcemaps which makes debugging easier but can't be submit to AMO because they limit bundles to 4mb.

## Running

Go to [about:debugging](about:debugging) on Firefox, select `this firefox` and click to add a temporary add-on. Select the `manifest.json` file from the `dist/` folder from this repository.

## Setup inside Patchfox

Expand All @@ -54,9 +52,6 @@ After installing and configuring patchfox, try browsing to:

If you're interested in learning more about the technologies behind this add-on, check out:

* [MDN Web Docs - WebExtensions](https://developer.mozilla.org/en-US/Add-ons/WebExtensions/).
* [Native Messaging API](https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Native_messaging)
* [Native Messaging setup](https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Native_messaging#Setup)
* [Secure Scuttlebutt Protocol Guide](https://ssbc.github.io/scuttlebutt-protocol-guide/)

Don't hesitate to reach out to me at:
Expand All @@ -69,11 +64,9 @@ Don't hesitate to reach out to me at:

Do you want a decentralized internet too? Are you worried about the loss of net neutrality and realized that radical decentralization is the way to fight back? If you want to make a financial contribution to help me fund development of this and other dex focused software, I would love to receive contributions through these channels:


* [Buy Me A Coffee (preferred)](https://ko-fi.com/andreshouldbewriting)
* [Patchfox Open Collective](https://opencollective.com/patchfox)


# Artwork attribution

Patchfox is using artwork by many artists including:
Expand All @@ -84,12 +77,6 @@ Patchfox is using artwork by many artists including:

* Artwork for the 2020.2.1 release poster was done by: Photo by Krista Stucchio on Unsplash

# Third party vendored libraries

* Keymage 1.1.3: http://github.com/piranha/keymage
* ssb-custom-uri: https://git.sr.ht/~soapdog/ssb-custom-uri
* browser-polyfill: https://github.com/mozilla/webextension-polyfill

# Dependencies Licenses

Check [licenses.html](licenses.html)
Loading