destruc7i0n / nani

Crunchyroll without the bloat
https://nani.ninja
MIT License
71 stars 10 forks source link

Android version? #23

Open 2468-13579 opened 4 years ago

2468-13579 commented 4 years ago

Is it possible to use it on android other than the website nani.ninja? Thanks in advance.

destruc7i0n commented 4 years ago

You can add the website to your homescreen, as it has been optimized for such use. There are no plans for a native app at the moment.

DeWolfRobin commented 2 years ago

while this is indeed easy to do on mobile, it's not that easy on TVs (as these mostly don't have a browser). so maybe some sort of port might be nice? converting the whole project to an apk is pretty easy (I did it using ionic and capacitor), however, the video player will not work due to the following capacitor error:

E  Unable to open asset URL: http://localhost/proxy/pl/evs3/<redacted>/assets/<redacted>,4504749.mp4,4504755.mp4,4504743.mp4,4504731.mp4,4504737.mp4,.urlset/master.m3u8?Policy=<redacted>
destruc7i0n commented 2 years ago

while this is indeed easy to do on mobile, it's not that easy on TVs (as these mostly don't have a browser). so maybe some sort of port might be nice? converting the whole project to an apk is pretty easy (I did it using ionic and capacitor), however, the video player will not work due to the following capacitor error:

E  Unable to open asset URL: http://localhost/proxy/pl/evs3/<redacted>/assets/<redacted>,4504749.mp4,4504755.mp4,4504743.mp4,4504731.mp4,4504737.mp4,.urlset/master.m3u8?Policy=<redacted>

That issue arises from the need of a proxy to simplify video watching and not require a chrome extension or the like. Set an environment variable with a cors enabled proxy URL with REACT_APP_CORS_PROXY. I have not tested using the app on a TV so your mileage may vary.

DeWolfRobin commented 2 years ago

I am writing an app in kotlin now that does the same, but to my experience the proxy isn't needed

destruc7i0n commented 2 years ago

I am writing an app in kotlin now that does the same, but to my experience the proxy isn't needed

Its required only on the web due to CORS.