* albyhub guide * add more shortcuts, fix systemd code block * add link to macOS guide for service installation * add some formatting and better separation of concerns * fix headings * add references to SN * correct order, new screenshots, in-depth steps
3.6 KiB
3.6 KiB
title | id | sub |
---|---|---|
Official Alby Hub Guide | 1215565 | meta |
Official Alby Hub Guide
last updated: September 10, 2025
Flavors:
Setup Alby Hub Desktop
- Download the latest Alby Hub Desktop release from Github here
- Run Alby Hub Desktop
It is recommended to use an always-on device, as receiving payments could otherwise fail.
Now you can attach send and/or receive
Setup Alby Hub Server
Requirements:
- a server running a Linux-based distribution or macOS
- reachable from the internet via clearnet and HTTPS
Choose a path:
- Quickstart (only Linux)
- Docker
- Manual
Quickstart
- Follow the Quick start script provided by Alby here
- Visit the Web UI at
ip:8080
orip:8029
(if installed as a service) to continue setup
Docker
- Pull the image from Docker:
$ docker run -v .albyhub-data:/data -e WORK_DIR='/data' -p 8080:8080 ghcr.io/getalby/hub:latest
- Visit the Web UI at
ip:8080
to continue setup
Manual
- Download the latest Alby Hub Server release for your processor from Github here
- Extract it to a folder of your choice, we'll go with
albyhub
, and navigate to it - Create a
data
folder inalbyhub
:mkdir -p data
- Create a
start.sh
script inalbyhub
WORK_DIR="dir/to/albyhub/data" LDK_GOSSIP_SOURCE="" dir/to/albyhub/bin/albyhub
- Now you can either install it as a service or run it via
./start.sh
- Visit the Web UI at
ip:8080
orip:PORT
(if installed as a service) to continue setup
Now you can attach send and/or receive
Install as a systemd service (optional)
This focuses on systemd for Linux systems.
macOS uses launchd to handle services, you can follow this really good guide to mirror what we're going to do here.
- Open with your editor of choice
/etc/systemd/system/albyhub.service
- Populate:
[Unit]
Description=Alby Hub
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
Restart=always
RestartSec=1
User=$USER
ExecStart=dir/to/albyhub/start.sh
Environment="PORT=8029"
[Install]
WantedBy=multi-user.target
sudo systemctl enable albyhub
sudo systemctl start albyhub
Attach send
- Navigate to the Connections tab in Alby Hub
- Press Add connection
- Create a Full Access connection and press Next
- Copy the Nostr Wallet Connect URL via the apposited button
- Paste the copied NWC URL in the NWC send step of the Alby Hub wallet attachment on SN
- Press next in Stacker News
Attach receive
- Navigate to the Connections tab in Alby Hub
- Press Add connection
- Create a Read Only connection and press Next
- Copy the Nostr Wallet Connect URL via the apposited button
- Paste the copied NWC URL in the NWC receive step of the Alby Hub wallet attachment on SN
- Press next in Stacker News