Skip to content

Instantly share code, notes, and snippets.

@nighthawk24
Last active April 4, 2024 05:39
Show Gist options
  • Save nighthawk24/8072ac75feb8c46bcb1b8bf14165ae87 to your computer and use it in GitHub Desktop.
Save nighthawk24/8072ac75feb8c46bcb1b8bf14165ae87 to your computer and use it in GitHub Desktop.
darkirc on android
Running darkirc on Android
On your System:
---
Follow the instructions linked below to ensure you have all the necessary dependencies
https://darkrenaissance.github.io/darkfi/index.html#build
Setup Docker on your machine which may look like:
Install docker and docker-buildx packages.
Enable the docker daemon service.
Add your user to the docker group and refresh the session (either with su -c $USER or logout/login).
git clone https://github.com/darkrenaissance/darkfi.git
cd darkfi && git checkout master
cd bin/darkirc/ && make docker-android
The resulting file will be called darkirc.aarch64-android
Copy this to your phone.
On Android:
---
Download F-Droid https://f-droid.org/
Give permissions to install unknown apps
Search for Termux and install
Give Termmux permissions to Files and uncheck "Pause app activity if unused"
Run pkg update && pkg upgrade
Run termux-setup-storage and Allow Permission
Run termux-wake-lock and Allow Permission
Run pkg install root-repo
Close Termux with Force stop and reopen to gain access to /storage, if problem persists, then disable Files permission under Terms Permissions and re-enable Files permission.
cd /storage/downloads and find darkirc.aarch64-android
mv darkirc.aarch64-android /data/data/com.termux/files
cd /
cd /data/data/com.termux/files
chmod +x darkirc.aarch64-android
./darkirc.aarch64-android
Config file will be created under home, now navigate to home and enter nano to edit it
nano .config/darkfi/darkirc_config.toml
uncomment and set irc_listen = “tcp:127.0.0.1:6667”
Edit seeds to include available seeds, remove other seeds that fail to connect.
Join https://t.me/darkfichat to ask for available seeds.
To save changes in nano: Ctrl + X, Y to agree file overwrite and Enter
Start darkirc daemon with ./darkirc.aarch64-android
Open Revolution IRC
Add Server
Name: darkirc
Server address: 127.0.0.1
Port: 6667
Uncheck: Use SSL/TLS
Set a nickname and save to connect!
After connecting, go to #Random channel and enter “test” and the testbot will reply with Test back!
Welcome to DarkFi!
Let there be dark.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment