Replies: 1 comment 1 reply
|
Not through ya pkg today. The package reference grammar is owner/repository[:child], and the current implementation hardcodes the remote as https://github.com/{owner}/{repository}.git. It even contains a “Support more Git hosting services in the future” comment: dependency.rs. Therefore a Gitea hostname cannot be encoded in the current use field. For private/self-hosted plugins, manage them outside ya pkg for now: Or keep the private plugin checkouts in your dotfiles/bootstrap repository and symlink/copy them into $YAZI_CONFIG_HOME/plugins. Pin a commit in that script if you need reproducibility across machines. Do not also list the manually managed plugin in package.toml, because ya pkg install/upgrade assumes GitHub and may reconcile its target. Use the normal Git credential helper or SSH for the private host rather than embedding a token in the URL. Arbitrary hosting needs a package-format extension (full source URL plus update/identity semantics); it is a feature request rather than an undocumented syntax. |
Uh oh!
There was an error while loading. Please reload this page.
What system are you running Yazi on?
Linux Wayland
What terminal are you running Yazi in?
alacritty 0.17.0
yazi --debugoutputYazi Version : 26.5.6 (Arch Linux 2026-05-09) Debug : false Triple : x86_64-unknown-linux-gnu (linux-x86_64) Rustc : 1.95.0 (59807616 2026-04-14) Backtrace: None Ya Version: 26.5.6 (Arch Linux 2026-05-09) Config Init : /home/markus/.config/yazi/init.lua (3126 chars) Yazi : /home/markus/.config/yazi/yazi.toml (308 chars) Keymap : /home/markus/.config/yazi/keymap.toml (13123 chars) Theme : /home/markus/.config/yazi/theme.toml (26 chars) VFS : /home/markus/.config/yazi/vfs.toml (No such file or directory (os error 2)) Package : /home/markus/.config/yazi/package.toml (311 chars) Dark/light flavor: ArcSwapAny("dracula") / ArcSwapAny("") Emulator TERM : Some("xterm-kitty") TERM_PROGRAM : None TERM_PROGRAM_VERSION: None Brand.from_env : Some(Kitty) Emulator.detect : Emulator { kind: Left(Kitty), version: "kitty(0.46.2)", light: false, csi_16t: (16, 31), force_16t: false } Adapter Adapter.matches : Kgp Dimension.available: Dimension { rows: 42, columns: 113, width: 1808, height: 1302 } Desktop XDG_SESSION_TYPE : Some("wayland") WAYLAND_DISPLAY : Some("wayland-1") DISPLAY : Some(":0") SWAYSOCK : None HYPRLAND_INSTANCE_SIGNATURE: Some("521ece463c4a9d3d128670688a34756805a4328f_1779168859_753626103") WAYFIRE_SOCKET : None SSH shared.in_ssh_connection: false WSL WSL: false Variables SHELL : Some("/usr/bin/fish") EDITOR : Some("nvim") VISUAL : None YAZI_FILE_ONE : None YAZI_CONFIG_HOME : None YAZI_ZOXIDE_OPTS : None SSH_AUTH_SOCK : Some("/home/markus/.ssh/agent/s.wxk7yESmm4.agent.RU11EXGj9T") FZF_DEFAULT_OPTS : None FZF_DEFAULT_COMMAND: None Text Opener default : Some(OpenerRule { id: Id(3), run: NonEmptyString("${EDITOR:-vi} %s"), block: true, orphan: false, desc: "$EDITOR", for: Unix, spread: true }) block-create: Some(OpenerRule { id: Id(3), run: NonEmptyString("${EDITOR:-vi} %s"), block: true, orphan: false, desc: "$EDITOR", for: Unix, spread: true }) block-rename: Some(OpenerRule { id: Id(3), run: NonEmptyString("${EDITOR:-vi} %s"), block: true, orphan: false, desc: "$EDITOR", for: Unix, spread: true }) Multiplexers TMUX : false tmux version : tmux 3.6a tmux build flags : enable-sixel=Supported ZELLIJ_SESSION_NAME: None Zellij version : No such file or directory (os error 2) Dependencies file : 5.47 ueberzugpp : No such file or directory (os error 2) ffmpeg/ffprobe: 8.1.1 / 8.1.1 pdftoppm : 26.04.0 magick : 7.1.2-21 fzf : 0.72.0 fd/fdfind : 10.4.2 / No such file or directory (os error 2) rg : 15.1.0 chafa : No such file or directory (os error 2) zoxide : 0.9.9 7zz/7z : No such file or directory (os error 2) / 26.01 resvg : No such file or directory (os error 2) jq : 1.8.1 Clipboard wl-copy/paste: 2.3.0 / 2.3.0 xclip : No such file or directory (os error 2) xsel : No such file or directory (os error 2) Routine `file -bL --mime-type`: text/plainDescribe the question
I'm working on some plugins for myself (not of interest to the public), since i have my Homelab with a gitea instance.
I wondered if i can use
ya pkg addusing my own instance like git.homelab.net for certain plugins.It looks like the default is only supporting github.com, which is fine for public facing plugins (even i think support for other code hosting platforms would be beneficial in general)
I can work around this, but it would be cooler if
ya pkgwould be able to handle all plugins i have installed on my Yazi (especially if i want to sync them on my different machines)I would like to thank you for providing such a cool Terminal File Manager, it's the only way i handle files on Omarchy since i found it.
Anything else?
No response
Checklist
All reactions