https://github.com/ladykerr/tubescript
https://github.com/ladykerr/tubescript
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ladykerr/tubescript
- Owner: LadyKerr
- Created: 2024-08-01T22:35:47.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-21T21:38:16.000Z (over 1 year ago)
- Last Synced: 2025-06-05T20:05:32.004Z (7 months ago)
- Language: Python
- Homepage: https://ladykerr-tubescript-tubescriptmain-tkgfik.streamlit.app/
- Size: 26.4 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TubeScript 📝
TubeScript is a Python application that fetches the transcript of a YouTube video and saves it to a text file. It provides both a command-line interface and a user-friendly web interface using Streamlit.
## Features
- Extract transcripts from YouTube videos
- Save transcripts to text files in a designated folder
- Web interface for easy interaction
## Installation
1. Clone the repository:
```bash
git clone https://github.com/yourusername/tubescript.git
cd tubescript
```
2. Create a virtual environment (optional but recommended):
```bash
python -m venv venv
source venv/bin/activate # On Windows, use `venv\Scripts\activate`
```
3. Install the required packages:
```bash
pip install -r requirements.txt
```
## Usage
### Web Interface
Run the Streamlit app:
```bash
streamlit run tubescript/app.py
```
Then open your web browser and navigate to `http://localhost:8501` to access the TubeScript web interface.
### Command-Line Interface
To use the command-line interface, run the following command:
```bash
python tubescript/utils.py
```
Replace `` with the URL of the YouTube video for which you want to fetch the transcript.
## License
[MIT](https://choosealicense.com/licenses/mit/)