Skip to content
/ nazuna Public

🐦 Download Twitter videos using your terminal!

License

Notifications You must be signed in to change notification settings

Sazzo/nazuna

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nazuna

🐦 Download Twitter videos using your terminal!

Installation

Binary

Download the desired file for your OS (Windows, Mac, Linux) from https://github.com/Sazzo/nazuna/releases

AUR

AUR maintainer

$ yay -S nazuna

AUR maintainer

You can also install from the latest commit in this repository with:

$ yay -S nazuna-git

Usage

$ nazuna <Tweet URL>

By default, the output file will be output.mp4, if you want to specify how this file will look like, you need to use the --output option:

$ nazuna <Tweet URL> --output=<File>

Configuration

Nazuna requires a Twitter API Key and API Secret to work properly, to obtain these keys you need to register a application on the Twitter Developer Portal.

Getting Started

Go to https://developer.twitter.com/en/portal/dashboard, if it's your first time accessing the dashboard, you'll need to fill a form with some details about your usage and then verify your email (ps: you need a verified phone number in your twitter account).

Creating the Application

If again, it's your first time accessing the dashboard, the first thing that should appear after filling the usage form is the application creation form, that should ask about the app name, app description and etc.

If it's not your first time accessing the dashboard, you need to create a new project which if you have no project in your account, a big blue button should appear to you on the home page, see below for a example. Fill the project name, use case and project description, after this create a new app like described above.

After filling the basic app information, the keys should appear to you (especially, the API Key and API Secret), copy them and proceed to the next step.

Using the API Keys on Nazuna

Now, try to download a video using Nazuna and you should be asked about the API Key and API Secret. Paste first the API Key and then, click enter to paste the API Secret. These keys will be stored at your config directory in nazuna/credentials.json for future uses.

image

Notes

  • Yep, I'm a noob in Rust and I'm trying to improve. If you want to give some feedback, feel free to open a issue.