solid-data-module-movies
v0.1.2
Published
Solid Data Module for tracking movies
Readme
Solid Data Module for Movies
Data schemas supported:
- Media Kraken as-is in May 2025
- Media Kraken with correctly typed links
Usage
Set up a typescript project, install solid-data-module-movies from NPM, and create a .env file like this:
SOLID_SERVER=https://solidcommunity.net
[email protected]
SOLID_PASSWORD=...Edit line 19 of src/example.ts to point to your movies folder on your pod.
node node_modules/solid-data-module-movies/build/src/example.jsThe output will look something like this:
{
created: 2020-07-17T16:40:29.000Z,
modified: 2020-08-06T14:09:18.000Z,
movie: {
published: 2019-05-30T00:00:00.000Z,
description: "All unemployed, Ki-taek's family takes peculiar interest in the wealthy and glamorous Parks for their livelihood until they get entangled in an unexpected incident.",
image: 'https://image.tmdb.org/t/p/w500/7IiTTgloJzvGI1TAYymCfbfl3vT.jpg',
name: 'Parasite',
sameAs: [
'https://www.imdb.com/title/tt6751668',
'https://www.themoviedb.org/movie/496243'
]
}
}
{
created: 2022-05-17T14:50:44.000Z,
startTime: 2022-05-17T14:50:44.000Z,
endTime: 2022-05-17T14:50:44.000Z,
listingId: 'https://michielbdejong.solidcommunity.net/movies/the-green-mile-1999#it'
}Development
Put a .env like above in the root of your local check-out this repo and:
pnpm install
pnpm lint
pnpm prettier
pnpm build
pnpm start