-
-
Notifications
You must be signed in to change notification settings - Fork 743
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow searching FreeTube through the command line #4675
base: development
Are you sure you want to change the base?
Allow searching FreeTube through the command line #4675
Conversation
Pinging people that have opened or commented on issues related to this subject to get some suggestions how to improve this: @romanoce |
I had originally commented on a different issue about backups from the command line and I think that's how my involvement got started here. I'll give some suggestions based on both though, since this issue is about searching from cli specifically. For searchingI agree with @ChunkyProgrammer, it would be nice to see something like: freetube --search "mr. beast"
# the same os --search but shorter
freetube --search "mr. beast" And then it should launch freetube with the given search query. This feature would mostly be useful in that it would allow people to launch freetube searches from the cli, and then could also be done via TUI text editors like vim/nvim as well, which could make looking up a tutorial easier. For backupsIt would be great if we could do something like the following: freetube --backup --local /path/to/backup
# same as --backup --local, but shorter flag
freetube -b -l /path/to/backup And then it should copy the subscriptions, playlists, and history to the path of a user's choosing. That would satisfy local backups. If I were to go further, it would be cool if Nextcloud and/or S3 backups were possible: freetube --backup --s3 Then it would use exported S3 credentials, or the credentials in the local AWS or Minio config file. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Conflicts have been resolved. A maintainer will review the pull request shortly. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Conflicts have been resolved. A maintainer will review the pull request shortly. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Conflicts have been resolved. A maintainer will review the pull request shortly. |
Ehm... Merging is blocked? No one assigned? |
Allow searching FreeTube through the command line
Pull Request Type
Related issue
#4446
#1619
Description
Allow searching FreeTube through the command line by using
freetube s="QUERY"
Screenshots
A FreeTube instance will be redirected/opened to the search query
Testing
For my linux distro, I built FreeTube, installed the deb and ran the command.
It's probably the same for Windows and MacOS (might need to run cmd where freetube install is located/add freetube to path variable for windows?)
Desktop
Additional context
I don't think this is something that I'd personally use so if anyone that requested this feature has any additional suggestions please let me know 馃槃