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

Mobile application #250

Closed
Chocobozzz opened this issue Jan 25, 2018 · 15 comments

Comments

Projects
None yet
9 participants
@Chocobozzz
Copy link
Owner

commented Jan 25, 2018

Now we documented our REST API (/!\ still in Alpha /!\) maybe some people will want to create a mobile application.

Just remember that PeerTube uses WebTorrent and thus WebRTC to seed videos. If you want to keep compatibility with WebRTC, you'll need to develop the application in JavaScript and put it in a container that support WebRTC (like Electron on Desktop), or use implementations from Google Android or Apple iOS too. Others might exist too, but you know, YMMV. If you don't want to keep the compatibility with WebRTC, you'll loose web browser seeders. But you could leech/seed with TCP/UDP instead so it could be fine too.


Ongoing projects

@sylflo

This comment has been minimized.

Copy link

commented Feb 7, 2018

I could be interested to dev the Android app. The problem is that even tough I have knowledge on Android, I have not so much clue on our WebRTC works. I followed some tutorials about this technology but I have to admit not understand it very well.

I could make a protoype first or if someone already started something I would be happy to join

@Shotman

This comment has been minimized.

Copy link

commented Feb 7, 2018

Couldn't you use Cordova or Ionic to create the mobile app since you use angular ?

@rigelk

This comment has been minimized.

Copy link
Collaborator

commented Feb 7, 2018

Thinking about it I don't think we should focus neither on writing native nor hybrid apps, since they require the user to install the application. Of course the experience can be better, but only with significant time investment, especially when we know users tend to only have 40 apps on average, and stick to the main applications from the store. Taking our place in their apps doesn't seem like a feasible thing short term.

We should focus more on making the current web interface a proper web app.


Native/hybrid apps become more relevant when we target non-mobile users: media boxes. They are often used to consume media, and web apps are not usable on them. As some people pointed out on the forum [in french], TV boxes (Android TV especially) may be what we should target if we really want to go native/hybrid.

But then, why not extend NewPipe? It already has thought a lot about the user interace and aims at supporting additional platforms. Maybe we could look for a synergy here. They are already bringing Soundcloud support as an example that they can support multiple streaming services. Maybe we could plug our services too, once the API is stable.

@sschueller

This comment has been minimized.

Copy link
Contributor

commented Feb 25, 2018

I believe the only way to go is writing a native app (at least on the Android side). Yes it is a lot more work but if Peertube is wants to be a competing platform to youtube the mobile experience needs to be as close as possible,

Android does not have a full javascript engine built in like iOS so apps made in Cordova, Ionic Appcelerator are fairly large and don't produce a good user experience.

I like the NewPipe idea but I don't see it being a replacement for a native Peertube app. Remember NewPipe can not be put in the play store because it violates google/youtube's rules.

@rigelk

This comment has been minimized.

Copy link
Collaborator

commented Feb 26, 2018

All good points @sschueller.

Nothing prevents us from forking NewPipe and actually replace access to YouTube with PeerTube. Even though the experience won't be as close as a native app of our own, it will still allow us to bootstrap faster.

In the meantime, I still believe we should try to make the web interface as good as possible a PWA: no design shift, no language shift, no need to separate forces, and no need for end users to install another app. That will still interest end users after the native app is out.


@sylflo are you still interested making a native app?

@sylflo

This comment has been minimized.

Copy link

commented Feb 26, 2018

@rigelk yes of course but I am too busy these days probably until the end of April.
For me if we only talk about user experience, the best thing like you said is to have a pwa first so the users will not need to install an application. I know it's something which works pretty well since most big companies did it so their users stay longer on their app/websites.

I would really like to participate in the project but right now is not possible for me.

@sschueller

This comment has been minimized.

Copy link
Contributor

commented Mar 4, 2018

I started work on an Android version however it is still very very early stages: https://github.com/sschueller/peertube-android . Please let me know if you have any feedback, comments etc.

Thanks.

@rigelk

This comment has been minimized.

Copy link
Collaborator

commented Mar 4, 2018

Looks like a really nice starting point @sschueller ! There is plenty to do of course and I still need to test the app running, but just looking at the main activity, each video takes a lot of place on the screen. Maybe a listing with more compact thumbnails placed aside the text could make browsing through videos easier ?

I'll post further comments/feedback - if any - as issues on your repository so as not to clutter this thread :)

Thanks for your work !

@Nutomic

This comment has been minimized.

Copy link
Contributor

commented May 25, 2018

FYI NewPipe has support for different sites now, so it would be possible to integrate PeerTube without forking it.

@Nutomic

This comment has been minimized.

Copy link
Contributor

commented May 26, 2018

@strypey

This comment has been minimized.

Copy link

commented May 28, 2018

Working with any existing video app/ plug-in to support PeerTube as well as YT (or whatever they current work with) would be a great way to bring more developer interest to the PT project, and avoid fragmenting the energy of the PT team across a number of apps. I agree with @rigelk that priority #1 is making the web app UX awesome on every device with a web browser, but it's great to see folks taking the initiative to start working on a native app (ideally not using Electron).

One thing I've been thinking about when it comes to apps is how to do branding in ways that Jo User finds less confusing. If I was running a PT instance, I would make sure it had a distinctive look and feel (while still giving due credit to PT), and if there are client-side PT apps, I would consider forking them to apply the same UX design. That way people can use StrypeyTube (or whatever) in their browser, and download the StrypeyTube app, but obviously I would make it very clear in both UI and all documentation what the app was forked from, and that it can be used to watch videos on any PR site.

@mcb2003

This comment has been minimized.

Copy link

commented Jul 9, 2018

One other, perhaps less thought about positive of integrating peertube into the NewPipe app, or even building a native app is screen reader accessibility for the Blind and visually impaired. I’m almost completely blind and find NewPipe very accessible with the talkback screen reader on android. Native apps also work much better than WebApps, although I must say the main peertube web Interface actually works remarkably well considering I doubt many people have thought about screenreader accessibility yet.

@strypey

This comment has been minimized.

Copy link

commented Jul 14, 2018

@mcb2003 the Trisquel GNU/Linux community has a keen contributor who is blind and uses a screen reader. I'd love to see a video app that works with PT, and has good accessibility, as one of the built-in apps in future releases of Trisquel.

@maddanio

This comment has been minimized.

Copy link

commented Sep 18, 2018

If I may: what would also help is improve mobile experience. On iOS for example it’s possible to make a web site feel quite native, I.e. give it an icon on the home screen and no Navbar and all. Maybe even some caching and stuff. Similar things are happening on android and I think There is also standardization attempts. If you want I can do some research. Unfortunately I am not well set up for web hacking myself, though I hope I can get round to changing that sometime :)

@Chocobozzz

This comment has been minimized.

Copy link
Owner Author

commented Jan 8, 2019

Closing now there are some mobile applications

@Chocobozzz Chocobozzz closed this Jan 8, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.