skoupidi 6f5dafad7a bin/darkirc/irc: (clippy chore) replace as_bytes().len() with len() since it returns the bytes length on strings il y a 1 an
..
config 3c4c82bff7 bin/darkirc/config: change out the seed nodes in darkirc-tor config example il y a 1 an
proof cbd120da96 darkirc: Preliminary RLN code layout il y a 2 ans
script 715a611278 darkirc: [taubot] properly notify about addition or removal of multiple assignees il y a 1 an
src 6f5dafad7a bin/darkirc/irc: (clippy chore) replace as_bytes().len() with len() since it returns the bytes length on strings il y a 1 an
.gitignore fbcebe5e43 chore: updated some .gitignore files il y a 2 ans
Cargo.toml ea87f3767d chore: updated sled-overlay to new version il y a 1 an
Makefile 6de436658b darkirc: switch recommendation from docker to podman for android builds il y a 2 ans
README.md ae3c67a7e0 replace ircd with darkirc throughout the codebase il y a 2 ans
android.Dockerfile 7b0513589d darkirc: use vendored sqlite and deprecate self-compiled sqlcipher. il y a 1 an
build.rs 0e6f51e895 chore: Update copyright year in license headers il y a 2 ans
darkirc_config.toml e417fe914d darkirc: DAG sync loops for ever instead of exiting with error after {sync_attempts} times il y a 1 an

README.md

darkirc

Check the Installation Guide for more detailed information about the ins and outs of darkirc.

Android build

  1. Install android-ndk
  2. Compile openssl with the Android toolchain
  3. Compile sqlcipher with the Android toolchain and the openssl lib
  4. Compile darkirc

OpenSSL

$ git clone https://github.com/openssl/openssl
$ cd openssl
$ export ANDROID_NDK_ROOT="/opt/android-ndk"
$ export PATH="$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH"
$ ./Configure android-arm64 -D__ANDROID_API__=32
$ make -j$(nproc)

SQLcipher

$ git clone https://github.com/sqlcipher/sqlcipher
$ cd sqlcipher
$ sed -e 's/strchrnul//' -i configure
$ export ANDROID_NDK_ROOT="/opt/android-ndk"
$ export PATH="$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH"
$ CC=aarch64-linux-android32-clang \
  CPPFLAGS="-I$PWD/../openssl/include" \
  LDFLAGS="-L$PWD/../openssl" \
  ./configure \
      --host=aarch64-linux-android32 \
      --disable-shared \
      --enable-static \
      --enable-cross-thread-connections \
      --enable-releasemode \
      --disable-tcl
$ make -j$(nproc)
$ ./libtool --mode install install libsqlcipher.la $PWD

DarkIRC

$ make darkirc.android64