Skip to content

Instantly share code, notes, and snippets.

@KevDoy
Last active June 18, 2020 22:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KevDoy/a783c6fc422ae92e23a4789041ea4d07 to your computer and use it in GitHub Desktop.
Save KevDoy/a783c6fc422ae92e23a4789041ea4d07 to your computer and use it in GitHub Desktop.
Media consumption timeline
JSON Timeline: Type of media, media title, tmdb, ISBN, IGDB, discogs, rating (thumbs up, indifferent, thumbs down)
Optional JSON: following -- name and link to their timeline
Shows timeline with dates
@KevDoy
Copy link
Author

KevDoy commented Jun 16, 2020

maybe the json can be self hosted and generated.

domain.com/kevdoy/mediahistory
domain.com is the service, kevdoy is the github username, mediahistory is the repo.

@KevDoy
Copy link
Author

KevDoy commented Jun 16, 2020

[
    {
        "title": "Super Mario 64",
        "img": "https://en.wikipedia.org/wiki/Super_Mario_64#/media/File:Super_Mario_64_box_cover.jpg",
        "mediatype": "game", //movie, tvshow, game, book, podcast
        "rating": "3", // 1 - 3, 3 being highest
        "tmdb": "",
        "isbn": "",
        "igdb": "super-mario-64",
        "discogs": "",
    },
    {
        "title": "Super Mario 64",
        "img": "https://en.wikipedia.org/wiki/Super_Mario_64#/media/File:Super_Mario_64_box_cover.jpg",
        "mediatype": "game", //movie, tvshow, game, book, podcast
        "rating": "3", // 1 - 3, 3 being highest
        "tmdb": "",
        "isbn": "",
        "igdb": "super-mario-64",
        "discogs": "",
    }
]

@KevDoy
Copy link
Author

KevDoy commented Jun 16, 2020

use lazy load or we'll run into issues.
Also needs date to organize by month, year

@KevDoy
Copy link
Author

KevDoy commented Jun 16, 2020

prepend 2019:first-child w/ a 2019 heading

prepend .3-2019:first-child w/ March heading

@KevDoy
Copy link
Author

KevDoy commented Jun 16, 2020

[
{
"year": "2020",
"month": "6,
"day": "1",
"title": "Super Mario 64",
"img": "https://en.wikipedia.org/wiki/Super_Mario_64#/media/File:Super_Mario_64_box_cover.jpg",
"mediatype": "game", //movie, tvshow, game, book, podcast
"rating": "3", // 1 - 3, 3 being highest
"tmdb": "",
"isbn": "",
"igdb": "super-mario-64",
"discogs": "",
}
]

@KevDoy
Copy link
Author

KevDoy commented Jun 18, 2020

probably proper to add youtube as a platform, too. add "youtube":"ID" as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment