No description
Find a file
dependabot[bot] 9ffe377d15
Bump webpack from 5.72.0 to 5.76.1 in /frontend
Bumps [webpack](https://github.com/webpack/webpack) from 5.72.0 to 5.76.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.72.0...v5.76.1)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-14 23:54:38 +00:00
.github/workflows Fix name of github workflow for docker build (#1969) 2022-02-27 00:42:24 -08:00
docker Use only named volumes in docker-compose (#2221) 2022-06-09 17:58:18 -07:00
docs Use only named volumes in docker-compose (#2221) 2022-06-09 17:58:18 -07:00
frontend Bump webpack from 5.72.0 to 5.76.1 in /frontend 2023-03-14 23:54:38 +00:00
itests Use only named volumes in docker-compose (#2221) 2022-06-09 17:58:18 -07:00
proto Wait for first successful download single squeak (#2176) 2022-04-27 01:58:28 -07:00
squeaknode Release version 0.3.5 2022-07-10 19:40:51 -07:00
tests Fix handling of p2p server port config (#2232) 2022-06-17 19:04:31 -07:00
.dockerignore Add get squeaks for address rpc method (#108) 2020-07-21 16:12:26 -07:00
.flake8 Add precommit hooks (#526) 2020-12-28 23:52:32 -08:00
.gitignore Simplify test run in github action (#1921) 2021-12-29 19:18:13 -08:00
.pre-commit-config.yaml Simplify test run in github action (#1921) 2021-12-29 19:18:13 -08:00
CHANGELOG.md Update changelog 2021-11-04 22:01:47 -07:00
clightning-config.ini Remove zqm hash block config (#2219) 2022-05-24 22:06:23 -07:00
config-mainnet.ini Add mainnet config.ini file (#652) 2021-01-14 10:25:37 -08:00
config-other.ini Run dev mode with polar (#2239) 2022-08-26 14:20:25 -07:00
config.ini Run dev mode with polar (#2239) 2022-08-26 14:20:25 -07:00
createdb.sql Fix serialization of payment hash db (#579) 2021-01-08 00:48:16 -08:00
Dockerfile Simplify dockerfile (#2188) 2022-05-01 20:04:02 -07:00
entrypoint.sh Rename entrypoint script (#2171) 2022-04-25 16:32:31 -07:00
LICENSE Update LICENSE (#71) 2020-07-15 16:00:13 -07:00
Makefile Clean up makefile (#570) 2021-01-06 23:47:50 -08:00
MANIFEST.in Fix package python sdist for pypi (#1796) 2021-11-11 02:59:51 -08:00
PGP.txt Add PGP public key file. (#1935) 2022-01-05 13:13:51 -08:00
README.md Fix macaroon path in readme example config (#2211) 2022-05-11 18:47:23 -07:00
requirements-dev.txt Simplify test run in github action (#1921) 2021-12-29 19:18:13 -08:00
requirements-itest.txt Upgrade squeaklib to v013 (#2165) 2022-04-24 17:54:07 -07:00
requirements.txt Add clightning backend support (#2205) 2022-05-08 12:41:44 -07:00
setup.cfg Add long description to setup.cfg (#1828) 2021-11-27 22:23:02 -08:00
setup.py Use python venv (#1920) 2021-12-29 18:48:53 -08:00
torrc Use docker tor simple (#1847) 2021-12-13 11:36:25 -08:00
tox.ini Simplify test run in github action (#1921) 2021-12-29 19:18:13 -08:00

squeaknode

GitHub release GitHub CI workflow codecov Join the chat at https://gitter.im/squeaknode/squeaknode

A peer-to-peer status feed with posts unlocked by Lightning.

Screen capture

Squeaknode allows you to create, view, buy, and sell squeaks.

A squeak is an immutable, signed structure that:

  • contains up to 280 utf-8 characters of text, encrypted (can only be decrypted with access to the decryption key obtained by lightning payment)
  • contains the height and block hash of the latest bitcoin block
  • contains the public key of the author
  • contains the public key of the recipient, if the text is end-to-end encrypted
  • contains the hash of another squeak, if the squeak is a reply
  • can be used to derive a unique hash

The protocol is defined here.

Installation

Requirements

  • a Bitcoin node
  • an LND node
  • Python 3.6 or later

Optional

  • a Tor SOCKS5 proxy (you can open Tor Browser and run it in the background)

Step 1. Create the configuration

Create a config.ini file and fill in the relevant sections to connect to your Bitcoin node and LND node:

[node]
network=mainnet

[lightning]
backend=lnd
lnd_tls_cert_path=~/.lnd/tls.cert
lnd_macaroon_path=~/.lnd/data/chain/bitcoin/mainnet/admin.macaroon

[bitcoin]
rpc_host=localhost
rpc_port=8332
rpc_user=devuser
rpc_pass=devpass

[tor]
proxy_ip=localhost
proxy_port=9150

[webadmin]
enabled=true
username=devuser
password=devpass

If you want to use c-lightning as the Lightning Network node backend instead of LND, replace the lightning section with the following:

[lightning]
backend=clightning
clightning_rpc_file=~/.lightning/lightning-rpc

Add any other configs that you need.

Step 2. Install squeaknode:

pip install squeaknode

Or install from source

python3 -m venv venv
source venv/bin/activate
pip install .

Step 3. Start squeaknode:

squeaknode --config config.ini

Go to http://localhost:12994/ and use the username/password in config.ini to log in.

Test

Unit tests:

Requirements

  • tox
make test

Integration tests:

Requirements

  • docker-compose
  • jq
make itest

Release + Commit Verification

All releases and all maintainer commits as of January 5, 2022 are signed by key D761F27D9B20BA52 (yzernik@gmail.com). The key can be found in this repo and on the Squeaknode website.

Telegram

Join our Telegram group!

License

Distributed under the MIT License. See LICENSE file.