YouToob

module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2024 License: MIT

README

YouToob

This repo is home to a small API, written in Go, that provides a simple way to retrieve the following data about a YouTube channel:

  • The latest video published.
    • /:channelName/video
  • The latest short published.
    • /:channelName/short
  • The latest VOD published.
    • /:channelName/vod
  • The next upcoming livestream.
    • /:channelName/live

Tech Stack

To Do

  • Add a Dockerfile to the project.
    • While I love building a single executable, I'd much rather have a container that I can deploy instead.
  • Add support for Turso to store some response data.
    • Should help prevent quota/rate limit issues (if we ever run in to those) by limiting calls to the YouTube API.
    • For example, the following bits of data should prove useful:
      • The channel name -> channel ID mapping.
      • The channel name/ID -> playlist ID(s) mapping.
  • Add tests.
    • Mostly for the experience of how to do this because I really hate writing tests...

Directories

Path Synopsis
cmd
api command
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL