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

youtube-tui is being rewritten #48

Open
Siriusmart opened this issue Feb 11, 2024 · 11 comments
Open

youtube-tui is being rewritten #48

Siriusmart opened this issue Feb 11, 2024 · 11 comments

Comments

@Siriusmart
Copy link
Owner

adding new features to youtube-tui was rough, especially the subscription page caused me to realise what terrible design choices I've made when I began the second rewrite of youtube-tui 2 years ago.

but more importantly, I have a bit of a vision on how TUI apps should be - rather than each apps running on their own, they should share features, allowing embedding of one TUI component within another.

the first step to getting there would be to allow multiple programs to draw to the same terminal, this is the working principle of ccanvas. You can learn more about it by clicking on the url.

anyways, here is the current progress
image

@Siriusmart Siriusmart pinned this issue Feb 11, 2024
@Siriusmart
Copy link
Owner Author

i will be uploading the repo once I have an overall idea on how the new TUI should work

@Siriusmart
Copy link
Owner Author

also, i will continue to fix bugs in YouTube TUI if u create an issue, until the ccanvas rewrite is completed

@arya-satvic
Copy link

keep up the good work bro!

@mjholub
Copy link

mjholub commented May 20, 2024

I'd appreciate if you added a way to quickly play a video/audio stream directly from a channel's videos list instead of going into the details. tbh it's something I could volunteer for as well if that wouldn't get in the way of your rewrite.

@Siriusmart
Copy link
Owner Author

I'd appreciate if you added a way to quickly play a video/audio stream directly from a channel's videos list instead of going into the details. tbh it's something I could volunteer for as well if that wouldn't get in the way of your rewrite.

i appreciate that, but progress on the TUI framework has stalled completely. There will be a youtube-tui rewrite, I just don't know when. I will most likely re-pick up the progress during summer

@mjholub
Copy link

mjholub commented May 22, 2024

I feel you. Probably a similar situation here where I've recently came back to a project after 2 months or so (due to personal reasons) and the complexity and the whole aftermath of my earlier sloppiness feel really crushing but I'm positive I'll overcome that and not let my efforts go to waste. so if this is the case for you I hope you'll manage that as well! keep up the good work, since I'm really enjoying the app in it's current state regardless. sometimes you got to slow down to speed up and that's ok.

@feoh
Copy link

feoh commented Dec 11, 2024

Look forward to trying this!

I can get the current version to build but not run on MacOS by installing the dependencies via homebrew and adjusting CPPFLAGS, LIBRARY_PATH and LD_LIBRARY_PATH accordingly, but it blows up unable to load libmpv when you try to run the resultant binary.

For now I'll fall back to yewtube :)

@Siriusmart
Copy link
Owner Author

Look forward to trying this!

I can get the current version to build but not run on MacOS by installing the dependencies via homebrew and adjusting CPPFLAGS, LIBRARY_PATH and LD_LIBRARY_PATH accordingly, but it blows up unable to load libmpv when you try to run the resultant binary.

For now I'll fall back to yewtube :)

idk if this is an emerging issue, but 4 days ago #73 is opened with the exact same problem. You just need to compile it without the mpv module.

Also check if mpv/libmpv is present on system, if u wish to use them

@Siriusmart
Copy link
Owner Author

i should also give some progress update on the rewrite: that there is absolutely no progress being made

looking back the thing that wanted to rewrite youtube-tui in is poorly written and not fit for purpose. cool concept, but that too need some rewritting

@kenderipa
Copy link

i should also give some progress update on the rewrite: that there is absolutely no progress being made

looking back the thing that wanted to rewrite youtube-tui in is poorly written and not fit for purpose. cool concept, but that too need some rewritting

Any new plans then?

@Siriusmart
Copy link
Owner Author

i should also give some progress update on the rewrite: that there is absolutely no progress being made
looking back the thing that wanted to rewrite youtube-tui in is poorly written and not fit for purpose. cool concept, but that too need some rewritting

Any new plans then?

im doing some design work for the rewrite of ccanvas, mostly because the old one is a resource hog and inefficient af, im already running into walls trying to use mio for event handling, but i'll figure something out

once ccanvas is done stuff should be happening by the week, i just need to spend some time working through the design of each part of the program before writing the code for that section, u can see some progress is being made

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

5 participants