Command line application that can sync IMDb and Trakt user data - watchlist, lists, ratings and optionally history.
To achieve its goals the application is using the Trakt API and web scraping.
Keep in mind that this application is performing one-way sync from IMDb to Trakt. This means that any changes made on IMDb will be reflected on Trakt, but not the other way around.
The application can be setup to run automatically, based on a custom schedule (default: once every 12 hours) using GitHub Actions or locally on your machine.
Workflow schedules can be tweaked by editing the .github/workflows/sync.yaml file and committing the changes.
There are 3 possible modes to run this application and more details can be found in the config.yaml file.
Follow the relevant section below, based on how you want to use the application.
- Fork the repository to your account
- Create a Trakt App. Use urn:ietf:wg:oauth:2.0:oob as redirect uri
- Configure the application:
- Open your fork repository on GitHub
- Create an individual repository secret for each configuration parameter:
Settings
>Secrets and variables
>Actions
>New repository secret
- The secret names should match the configuration parameter paths (delimited by underscore). For example, to configure your Trakt email, the secret name should be TRAKT_EMAIL
- Allow GitHub Actions on your fork repository:
Settings
>Actions
>General
>Allow all actions and reusable workflows
- Enable the sync workflow:
Actions
>Workflows
>sync
>Enable workflow
- Run the sync workflow manually:
Actions
>Workflows
>sync
>Run workflow
- From now on, GitHub Actions will automatically trigger the sync workflow
- Install Git and Go
- Clone the repository:
git clone [email protected]:cecobask/imdb-trakt-sync.git
- Create a Trakt App. Use urn:ietf:wg:oauth:2.0:oob as redirect uri
- Open a terminal window in the repository folder and then:
- Build the syncer:
make build
- Configure the syncer:
make configure
- Run the syncer:
make sync
- Build the syncer: