Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Works on Android Termux - quick tips #758

Open
Manamama opened this issue Jan 8, 2024 · 0 comments
Open

Works on Android Termux - quick tips #758

Manamama opened this issue Jan 8, 2024 · 0 comments

Comments

@Manamama
Copy link

Manamama commented Jan 8, 2024

It is not a problem, just random hints.

alias wordcloud='function _wordcloud(){ pdftotext "$1" - | wordcloud_cli --height 1000 --width 500 | feh -; }; _wordcloud'

  • it makes it display in Linux as an image (via feh) on its own, e.g.:
    wordcloud {filename.pdf}
  1. It also compiles in Android Termux, after some hacking - I had to git clone it from here first , and run with:
    pip install . --no-build-isolation
    to disable checking (and trying to reinstall) for cython, if I remember it right.
    (Also the pillow module had to be updated, via a similar hack.)

  2. Then in Termux and X-11 one can make the word cloud display a graphic application, directly, using that function alias as per Point 1:
    termux-x11 :1
    in Termux and e.g. Termux:X11 as the client.
    A sample result (on Droid) below:
    Screenshot_2024-01-08-15-28-41-64

@Manamama Manamama changed the title Works on Android - quick tips Works on Android Termux - quick tips Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant