Skip to content

Feature request: Publish to crates.io or Termux repository #102

@finnvyrn

Description

@finnvyrn

This app can be pre-built for Termux and published to crates.io or Termux for easier installation, just like elkowar/yolk: Templated dotfile management without template files! (yolk_dots).

~> curl -fsSL https://vykar.borgbase.com/install.sh | sh

vykar installer

Could not detect glibc version, using statically-linked musl build

Platform: aarch64-unknown-linux-musl

Latest version: v0.12.13

/data/data/com.termux/files/usr/bin/sh: 145: sudo: not found

Error: could not create directory: /usr/local/bin

It works on Termux by experience

git clone https://github.com/borgbase/vykar.git
cd vykar
# cargo build --release failed to build the GUI crate
cargo build -p vykar-cli --release

cp target/release/vykar ${TERMUX__ROOTFS_DIR}/usr/bin/

The only limitation:

# Otherwise, it's identified as "localhost"
hostname: "termux"

xattrs:
  # Termux doesn't have permission of xattrs for shared storage
  # 2026-04-17T22:45:07.348515Z WARN failed to list extended attributes
  # path2m=/storage/emulated/0/DCIM/... error2m=Operation not supported on transport endpoint (os error 95)
  enabled: false

Hope this help with someone:

Use Android scheduler to avoid being killed, survive rebooting, and let it be aware of battery and network type.

termux-job-scheduler --script ~/.termux/scripts/backup.nu --period-ms 86400000 --charging true --network unmetered --persisted true

Didn't work: pre-built binary (error)

version=v0.12.13

curl -LO "https://github.com/borgbase/vykar/releases/download/$version/vykar-$version-aarch64-unknown-linux-gnu.tar.gz"

tar -xf "vykar-$version-aarch64-unknown-linux-gnu.tar.gz"

chmod +x vykar
...
``

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions