Skip to content

therenotomorrow/tmdb

Repository files navigation

tmdb

Go Report Card Codecov GitHub Releases Project Link

One of roadmap.sh project. This is my small hobby.

Goal

tmdb is a command-line tool that fetches and displays movie data from The Movie Database (TMDB) right in your terminal. Available commands:

  • playing: Now Playing Movies
  • popular: Popular Movies
  • top: Top Rated Movies
  • upcoming: Upcoming Movies

System Requirements

go version
# go version go1.24.3
just --version
# just 1.40.0

Development

Download sources

PROJECT_ROOT=tmdb
git clone https://github.com/therenotomorrow/tmdb.git "$PROJECT_ROOT"
cd "$PROJECT_ROOT"

Setup dependencies

# copy environment
cp .env.example .env
vim .env

# check code integrity
just code test build

Taste it ❤️

# run application
./bin/tmdb -help

# you could inject `TMDB_TOKEN` inside binary file (could be unsafe)
just build 'your-token-value'

Receipts

# more just recipes available with
just

Setup safe development (optional)

git config --local core.hooksPath .githooks

About

Use TMDB API to fetch movie information and display it in the terminal.

Topics

Resources

License

Stars

Watchers

Forks

Contributors