Skip to content

dp487/potential-spoon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

potential-spoon

A collection of Go utilities for file processing and automation. This repository contains practical tools for merging YouTube videos from CSV exports and converting CSV data to bookmark folders. Perfect for automation tasks and batch processing.

🎯 Features

  • YouTube Video Merging: Combine multiple YouTube videos into a single file
  • CSV to Bookmark Folders: Convert CSV data (e.g., YouTube takeout exports) into organized bookmark folders
  • Command-line tools: Easy to use from terminal
  • Go-based automation: Fast and reliable file processing

🛠️ Tech Stack

  • Language: Go (Golang)
  • Pattern: CLI tools / Scripts
  • Use Case: Automation, batch processing, file manipulation

📁 Project Structure

potential-spoon/
├── merge_unique_videos.go        # Merges YouTube videos from CSV
├── takeout-csv-to-bookmark-folders.go  # Converts CSV to bookmark folders
├── go.mod                        # Go module definition (if applicable)
└── README.md

🚀 Getting Started

Prerequisites

  • Go 1.18+
  • Command-line interface (any OS with Go installed)

Installation

# Clone the repository
git clone <repository-url>
cd potential-spoon

# Install dependencies
go mod tidy

Usage

Merge YouTube Videos:

go run merge_unique_videos.go <input_csv_file> <output_video_path>

Convert CSV to Bookmark Folders:

go run takeout-csv-to-bookmark-folders.go <csv_file> <output_folder>

📖 Example Usage

Merging Videos

# Merge videos from a CSV export
go run merge_unique_videos.go youtube_takeout.csv output_video.mp4

Creating Bookmark Folders

# Convert YouTube takeout CSV to bookmark folders
go run takeout-csv-to-bookmark-folders.go youtube_subscriptions.csv bookmarks_folder/

🔧 Configuration

Both tools accept command-line arguments:

  • Input files: CSV files with video/bookmark data
  • Output paths: Destination file or folder paths

🧪 Future Work

  • Add command-line flag parsing (flag or cobra)
  • Add input validation and error handling
  • Add progress indicators for long-running operations
  • Add unit tests
  • Add batch processing support
  • Add configuration file support
  • Add logging and metrics

📄 License

MIT

About

Youtube playlist videos takeout CSV to Bookmark HTML

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages