Is termux compatible at all? #33
-
I'm totally noob at all this, just wanted to know: is it possible to run on android with termux?:) or not? It gives errors connected with rust in return, or as result of script as I see. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 4 replies
-
Termux support should be working, which was resolved in #27. You'd have to build from source, so you'd run something like: git clone https://github.com/Beastwick18/nyaa
cd nyaa
cargo install --path . which requires both And make sure to add to your export PATH="$HOME/.cargo/bin:$PATH" So that it can find it once installed. You should then be able to run |
Beta Was this translation helpful? Give feedback.
-
Much thanks, but still hasn't working:) Double checked "git" and"cargo" just in case - everything installed. It gives error even after "cargo path". This one $ cargo install --path |
Beta Was this translation helpful? Give feedback.
-
The first command, Then you have to move into that directory to build the app, so The last command, That's when we add Then you should be able to run the command |
Beta Was this translation helpful? Give feedback.
-
Good day, Steve!
I'm sorry for disturbance again, but one last question, OK?:)
Is it possible to download directly, like webtor do, for example?
I tried every option in "d", except obvious torrent clients, but nothing
downloaded through termux directly or through inner phone "downloads" for
example.
If it's not possible at all (don't have access to WiFi downloads right now)
- well,... :)
пт, 22 нояб. 2024 г. в 08:32, Steven Culwell ***@***.***>:
… This "bashrc cargo.toml" is a file I edited.
The file should be named .bashrc, without the cargo.toml part. Adding export
PATH="$HOME/.cargo/bin:$PATH" to it will make it so nyaa will be found by
the terminal.
So you could run nano ~/.bashrc, then add export
PATH="$HOME/.cargo/bin:$PATH" to the file towards the end, then press Ctrl
+X to close nano, and press y when it asks if you want to save your
changes. Restarting your terminal should reload the .bashrc file.
—
Reply to this email directly, view it on GitHub
<#33 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATOQEF7X4OO3CNDOBV6F2OT2B26YDAVCNFSM6AAAAABSFMCRVOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMZUGQ4DCNI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Oh... I'm sorry my request makes you write all this detailed, Steve! I
hoped for a basic answer:)
I got it, so now this application is much convenient way to find and
download torrents but not allows to download via 4g through app exactly.
OK, I'll continue to use webtor then:)
Thank you very much for all your help, have a nice day!
сб, 23 нояб. 2024 г. в 19:14, Steven Culwell ***@***.***>:
… Option 1
If you're fine with downloading directly to your phone, you can just
install a torrent client app like Libretorrent.
You'll want to modify the config for nyaa to open magnet links instead of
torrent links. You can open the config in nano with:
nano ~/.config/nyaa/config.toml
and look for the line [client.default_app] and modify the line under it
from use_magnet = false to use_magnet = true. Save the and close the file
with Ctrl+X and y to save changes.
Then you can open nyaa and switch the download client to Default App in
nyaa by pressing d and navigating to it and pressing Enter. Now, any time
you press enter on any of the torrents, it will open in Libretorrent and
start downloading. Once it finishes downloading the torrent, you can open
the file.
Option 2
If you would rather open in webtor, the easiest way I can think of doing
this would be to modify the Run Command download client. We'll modify it
to first copy the torrents magnet link to the clipboard, and then open
webtor.io where you can paste the magnet link.
First, you'll have to install termux-api so we can modify the clipboard.
You can install it by running the command:
pkg install termux-api
To modify Run Command, you'll have to open the file
~/.config/nyaa/config.toml, which you can open in nano by running:
nano ~/.config/nyaa/config.toml
You'll want to find a line under [client.command] that looks like
command="...". You can change it to something like:
command='termux-clipboard-set "{magnet}" && termux-open-url "https://webtor.io"'
(Note that it's '' surrounding the command. This allows "" to be used
inside more easily)
Now you can open nyaa, and change the download client to Run Command by
pressing d and navigating to it and pressing Enter. Now, any time you
press enter on any of the torrents, it will copy the magnet link to your
clipboard, and open webtor.io in your browser. Paste the link into webtor
and all should work!
—
Reply to this email directly, view it on GitHub
<#33 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATOQEFY6FHXRYAHULCK36F32CCSW3AVCNFSM6AAAAABSFMCRVOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMZVHAYTOOA>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
The file should be named
.bashrc
, without thecargo.toml
part. Addingexport PATH="$HOME/.cargo/bin:$PATH"
to it will make it sonyaa
will be found by the terminal.So you could run
nano ~/.bashrc
, then addexport PATH="$HOME/.cargo/bin:$PATH"
to the file towards the end, then press Ctrl+X to close nano, and press y when it asks if you want to save your changes. Restarting your terminal should reload the.bashrc
file.