Giter Site home page Giter Site logo

nativeyoutube's Introduction

AppIcon

NativeYoutube

Buy Me a Coffee  Download App


   

Requirements:

  • MacOS 13.0 or above
  • A working google account

Usage

Download the universal binary from the releases tab.

  • Open the app It's a menu bar app

  • Click on the gear icon > paste your api key, you're done.


FAQ

How do I Get a YouTube API Key?

Full Guide on v1 Branch

Tutorial link Note: Made for old version of app.

How do I add custom playlist?

  1. Find a playlist you like, eg: https://www.youtube.com/watch?v=dQw4w9WgXcQ&list=PL634F2B56B8C346A2
  2. Copy the word after "list=" it's PL634F2B56B8C346A2 in this case
  3. Paste it in the prefrence window (NativeYoutube > Settings (Command + , ) > Custom Playlist ID)

Icon By u/Rebirth

nativeyoutube's People

Contributors

aayush9029 avatar adelaidesky avatar errorerrorerror avatar imgbot[bot] avatar imgbotapp avatar insomnia-creator avatar wormeyman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nativeyoutube's Issues

Muubii quit unexpectedly

On Big Sur 11.3, attempting to launch the program results in an immediate crash.

Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

System Resources

As per your claims on reddit, the app didn't use 30x less resources.
(I use a MBP 2020 Intel)
on youtube safari, the resources taken for a normal 720p video were
CPU by youtube.com - on avg 8-10%
CPU by safari - 0.3-2%
On the otherhand,
CPU by Native Youtube - 2-5%
CPU by mpv - 30-60% !

Memory taken by youtube.com and mpv were almost same

Error

I've created the credential and pasted the key and these are the error messages:

Log at: 2022-02-03 12:56:47 +0000, from Playlists, message => Fetching playlist data
Log at: 2022-02-03 12:56:47 +0000, from Playlists, message => The response we got from server is invalid
Log at: 2022-02-03 12:56:47 +0000, from Playlists, message => I've never seen an error like this before

I really want an app to listen to music in youtube as I like soundtracks that aren't in spotify or youtube premium =
also youtube premium and the youtube pwa just sucks

Windowed Version, v4

Hello,
I could not find a way to open the app without using the menut bar
I suggest that it opens like an app too.
Sorry to open this issue because I could not find the suggestion

[Cleanup] Use IINA for everything

Video playing with IINA plus looks very promising.

I've hacked a quick play video with IINA toggle and it seems to be working well!

CleanShot 2022-03-25 at 13 58 21@2x


Need to cleanup the codebase regarding this.

Sign using new Certificate

Build and Release New Version of Native Youtube using different certificate. My old certificate was revoked.

Will wait for macOS Ventura to be officially released. So I can ditch hacky SwiftUI implementations.

Cannot input API Key

I can't figure out where to paste the API key. When I open the app, I see the following screen:

image

Clicking the Save API Key button does nothing.

System:

  • 2015 15" MacBook Pro
  • macOS 11.3.1

Suggestion

I'm not sure if this is the correct place to make this comment, but I just wanted to suggest adding to the app the ability to link your device to another device in your home (like the way you can control the YouTube app on a smart tv using a Chrome browser in macOS on the same WiFi). Using your laptop as a YouTube remote is a really useful feature, and it seems like only the Chrome browser supports it, at least on macOS. It would be great if this tool had that feature added. Unfortunate if it's something only Google can control. Airplay processes the video on your device, or at least it does if you're screen sharing, so having your laptop just tell the tv remotely to load a video on the YouTube app is useful.

Can't install it

I followed all the steps idk what I am doing wrong but I can't see app in my applications folder , I also did spotlight search found nothing with name

[Feature Request] Adding URL Schemes

This is just a feature request to keep track on what feature we add.

As mentioned in #55 (comment), we should implement a URL Scheme like:

nativeyoutube://video-id sort of schemes so other apps can interact with it.

Cannot play video

Cannot play video(API key inputted).

Also API key box too small.

Also the icon is too big, (I'll make one if I can),

The app cannot play videos no matter what I do, right click or anything.

Support for macOS 10.15.4

Any chance there will be support for macOS 10.15.4?
I have tried to install it using various method provided but none of them seems to work.

Videos and Music unable to play.

This is most likely an issue with Process() and bash or zsh unable to identify homebrew commands on some computers. Will need to see how well this goes with an exectuable. Meanwhile I'll experiment with Xcode to see what is the best way.

I'm getting command not found when I try to run the exact same code on AppDelegate,

bash: mpv command not found

[Use OAuth2] Skip ClientID and AccessToken requirement.

Personal note: Copy snippets from custom "poc" iOS app. (natak)

This will require me to add additional dependencies especially those MILLIONS* of google auth libraries. sigh

Perhaps playing around with Apple's Authentication Api might help trim down some of the bloat.

CleanShot 2022-06-23 at 02 48 29@2x

4*

ADDITION: Installer. Yes an installer.

I made one DMG installer for Native-Youtube

How is this different from normal installers? Well... The difference is that compared to normal installers which need to be updated every single releases this one runs on an sh file... Basically the code for this is in reality just installing from my fork of install.sh and it needs no updating(i can just change the fork thing upon release so it works with all releases, or you can as well technically.

https://github.com/insomnia-creator/Native-Youtube/raw/main/Native-Youtube-installer.dmg

NativeYoutube v2 issues.

Video playback only works for live stream content

Audio works for everything including DRM-content

Custom WKView will be implemented. (in progress)
or switch entire workflow to IINA.

IINA needs to be installed in order to play, AVKit is bad D: can't it play certain files... so it's disabled


Good news:

  • No need to install home-brew anymore
  • No need to instal mpv and it's millions of dependencies anymore
  • No need to install YouTube-dl anymore.

Bad news:

  • v2 is Unstable. kinda

Meh news:


Video buffering issue in IINA

iina buffer

API KEY ERROR

It seems like quite a few of you were using the pre-added api keys, it has been revoked! as promised after a year

If you'd like to continue using NativeYoutube, feel free to generate your own API credentials

8,912 Requests in 24 hours?! almost hit my quota there guys >_<

Note you'll be "limited" to 10K requests per day which is waaayyyyyy more than enough to use the NativeYoutube app :D

Subscriptions Videos

Hi, is it possible somehow, to view subscriptions only, simply sorted by newest.
Because with playlists, its a bit stupid somehow for me, to go into youtube first, add all the newest videos that i subscribed to, to an playlist etc...
Im wondering that no one else requested this.

Otherwise the app is working really great! Just a bit stupid in my case with subscriptions xD

Thanks Aayush for this app anyway!!

missing features

  • Can you add ability to close the app?
  • Can you add playlists support? If you add it the app will be excellent!

12.3 Beta (21E5196i) Python Error

macOS 12.3 Beta doesn't ship with python2 which doesn't play well with YouTube-dl

Will have to reconfigure YouTube-dl to fix this issue.

Monterey support

Is there a possibility of adding support for Monterey? I suppose most people that would want a native youtube app are the ones that have older macs that have trouble running the browser version.

Autoinstallation feature does not work.

$ /bin/bash -c "$(curl https://raw.githubusercontent.com/Aayush9029/Native-Youtube/main/install.sh)"                                                                    ‹ruby-2.5.8›

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   645  100   645    0     0   1990      0 --:--:-- --:--:-- --:--:--  1984
Installing / Updating Homebrew
==> Checking for `sudo` access (which may request your password).
Password:
==> This script will install:
/opt/homebrew/bin/brew
/opt/homebrew/share/doc/homebrew
/opt/homebrew/share/man/man1/brew.1
/opt/homebrew/share/zsh/site-functions/_brew
/opt/homebrew/etc/bash_completion.d/brew
/opt/homebrew

Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /usr/sbin/chown -R user:admin /opt/homebrew
==> Downloading and installing Homebrew...
HEAD is now at 1795b37ca Merge pull request #11432 from Homebrew/sync-triage-config
==> Installation successful!

==> Homebrew has enabled anonymous aggregate formulae and cask analytics.
Read the analytics documentation (and how to opt-out) here:
  https://docs.brew.sh/Analytics
No analytics data has been sent yet (or will be during this `install` run).

==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
  https://github.com/Homebrew/brew#donations

==> Next steps:
- Add Homebrew to your PATH in /Users/user/.zprofile:
    echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/user/.zprofile
    eval "$(/opt/homebrew/bin/brew shellenv)"
- Run `brew help` to get started
- Further documentation: 
    https://docs.brew.sh
Installing / Updating mpv and youtube dl
Warning: Treating mpv as a formula. For the cask, use homebrew/cask/mpv
Warning: mpv 0.33.1 is already installed and up-to-date.
To reinstall 0.33.1, run:
  brew reinstall mpv
Warning: youtube-dl 2021.5.16 is already installed and up-to-date.
To reinstall 2021.5.16, run:
  brew reinstall youtube-dl
Warning: Already linked: /opt/homebrew/Cellar/youtube-dl/2021.5.16
To relink:
  brew unlink youtube-dl && brew link youtube-dl
Warning: Already linked: /opt/homebrew/Cellar/mpv/0.33.1
To relink:
  brew unlink mpv && brew link mpv
Downloading...
Unzipping the file
unzip:  cannot find or open Muubii.app.zip, Muubii.app.zip.zip or Muubii.app.zip.ZIP.
removing cache
rm: Muubii.app.zip: No such file or directory
Saving to your Applications folder
mv: rename Muubii.app to /Applications/Muubii.app: No such file or directory
DONE :)
Exiting terminal in 3
2
1

Tell if there is something else I can do to debug this.

Jarring scrolling

Due to the sliding animation on mouse hover, it looks terrible when scrolling and by itself there's too much motion just for moving the mouse.
I'll suggest having the animation trigger only when selecting a video by single clicking which as of now does nothing.

Video player controls

Known Issue.

Play pause
Next, forward
mute
And stopping playback doesn't work on the new video player

Screen Shot 2021-11-23 at 4 05 32 PM

Screen Shot 2021-11-23 at 4 05 24 PM


Guess is since i'm passing the youtubeVideo as let and var instead of @Statevariables swiftUI is acting weird.

Will take a look at it this winter, video playback works and this is a huge achievement.


Play Music option creates multiple streams

As there are two options to play, with video and just music. I played a song with "Just Music" option and then after some time I played the same song again ("Just Music"). it is adding multiple streams in the global music navigation menu.

Screen Shot 2021-06-21 at 11 00 31 AM

Is this Expected?

When I play "Just Music" is there a way to have a single stream like (Now Playing) overwriting the previous one. (may be a feature request)

[Feature Request] Allow listening to videos in the background without IINA

Hello,

As we talked about adding support to play videos in the background, aka background audio, without the need of IINA. One approach would be implementing our own version of AVPlayer, which includes having to implement a decoder for webm + VP9 since AVFoundation has no implementation of that.

Another way we could use is using VLCKit which would help.

However, I was thinking we could use YouTubePlayerKit and have a video play but hide the window to simulate "background audio" playback.

These are just ideas on how we could implement.

Auto Update

Either use spark or custom AutoUpdate code from NativeTwitch.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.