All Projects → LuisAlejandro → movie-box

LuisAlejandro / movie-box

Licence: GPL-3.0 License
📺 Get your last watched movies and shows (+more) report from trakt.tv in a GitHub Gist.

Programming Languages

javascript
184084 projects - #8 most used programming language
Makefile
30231 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to movie-box

tRakt-shiny
Using trakt to graph show data and such. The on-it's-way-out incarnation of trakt.jemu.name
Stars: ✭ 17 (+30.77%)
Mutual labels:  trakt, trakt-tv, trakt-api
trakttvstats
A chrome extension adding various improvements to trakt.tv
Stars: ✭ 23 (+76.92%)
Mutual labels:  trakt, trakt-tv
Trakt2Letterboxd
Script to export your movies from Trakt to Letterboxd
Stars: ✭ 27 (+107.69%)
Mutual labels:  trakt, trakt-api
Trakt-Userscripts
Userscripts to improve and add features to Trakt.tv
Stars: ✭ 39 (+200%)
Mutual labels:  trakt, trakt-tv
jellyfin-plugin-trakt
jellyfin.org
Stars: ✭ 69 (+430.77%)
Mutual labels:  trakt
plaxt
Webhooks based Trakt.tv scrobbling for Plex
Stars: ✭ 20 (+53.85%)
Mutual labels:  trakt
movie-api
[DEPRECATED] 🎬 Get info for movies and TV shows
Stars: ✭ 32 (+146.15%)
Mutual labels:  trakt
onetab-sync
Command line utility for sync and backup OneTab Chrome extension data.
Stars: ✭ 48 (+269.23%)
Mutual labels:  gist
imdb-trakt-sync
Sync IMDb to Trakt
Stars: ✭ 38 (+192.31%)
Mutual labels:  trakt
code-medium
Browser extension that simplifies writing code in Medium posts. Quickly create and edit Github Gists without leaving the editor
Stars: ✭ 59 (+353.85%)
Mutual labels:  gist
chalkboard
Share your code and collaborate with developers around the world.
Stars: ✭ 30 (+130.77%)
Mutual labels:  gist
code-examples-manager
Software tool to manage your notes and code examples, to publish them as gists or snippets
Stars: ✭ 26 (+100%)
Mutual labels:  gist
gisture
A minimal and flexible blog generator based on GitHub Gist.
Stars: ✭ 24 (+84.62%)
Mutual labels:  gist
gists
Methods for working with the GitHub Gist API. Node.js/JavaScript
Stars: ✭ 96 (+638.46%)
Mutual labels:  gist
pacmanity
Package List Gist Backup via ALPM-Hooks
Stars: ✭ 34 (+161.54%)
Mutual labels:  gist
gist
A simple Github Gist client
Stars: ✭ 27 (+107.69%)
Mutual labels:  gist
gnome-shell-extensions-sync
Syncs gnome shell keybindings, tweaks settings and extensions with their configuration across all gnome installations
Stars: ✭ 188 (+1346.15%)
Mutual labels:  gist
gist-alfred
An alfred workflow for accessing gists
Stars: ✭ 113 (+769.23%)
Mutual labels:  gist
BookmarkHub
BookmarkHub , sync bookmarks across different browsers
Stars: ✭ 720 (+5438.46%)
Mutual labels:  gist
react-gist
Github Gist React component
Stars: ✭ 76 (+484.62%)
Mutual labels:  gist

movie-box

Update a gist to contain your recently watched movies from trakt.tv


📌 For more pinned-gist projects like this one, check out: https://github.com/matchai/awesome-pinned-gists

Inspiration

This code was heavily inspired by @jacc's music-box.

🎒 Prep Work

  1. Create a new public GitHub Gist (https://gist.github.com/).
  2. Create a token with the gist scope and copy it. (https://github.com/settings/tokens/new).
  3. Create a Trakt.tv Application and copy the API token (https://trakt.tv/oauth/applications/new).

🖥 Project Setup

  1. Fork this repo.
  2. Go to your fork's Settings > Secrets > Add a new secret for each environment secret (below).
  3. Activate github workflows on Actions > I understand my workflows, go ahead and run them.
  4. Star your own fork to trigger the initial build. Then the gist will update hourly. You can then go to your profile and pin the gist.

🤫 Environment Secrets

Set the following environment secrets on github.com/<github username>/movie-box > Settings > Secrets:

  • GIST_ID: The ID portion from your gist url https://gist.github.com/<github username>/<gist ID>.
  • GH_TOKEN: The GitHub token generated above.
  • TRAKT_ID: The Client ID you got from creating a Trakt.tv app.
  • TRAKT_USERNAME: Your Trakt.tv username.
  • MOVIE_BOX_MODE: Select the box mode from three options: movies, shows and stats.

🕵🏾 Hacking suggestions

  • You can test the script locally with Docker Compose:

    • Install Docker Community Edition according with your operating system

    • Install Docker Compose according with your operating system.

    • Install a git client.

    • Clone your fork of the repository into your local computer.

    • Open a terminal and navigate to the newly created folder.

    • Change to the develop branch.

        git branch develop
      
    • Create a .env file with the content of the environment secrets as variables, like this (with real values):

        GIST_ID=xxxx
        GH_TOKEN=xxxx
        TRAKT_ID=xxxx
        TRAKT_USERNAME=xxxx
        MOVIE_BOX_MODE=xxxx
      
    • Execute the following command to create the docker image (first time only):

        make image
      
    • Execute the following command to install node dependencies:

        make dependencies
      
    • You can execute the update script with this command:

        make update
      
    • Or, alternatively, open a console where you can manually execute the script and debug any errors:

        make console
        node index.js
      
    • You can stop the docker container with:

        make stop
      
    • Or, destroy it completely:

        make destroy
      
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].