Hi! I'm Cory. 👋🏻
This is the code for my personal website and portfolio. Built using Next.js and deployed on Vercel.
Built with:
Git submodules are used to split out different assets from the core application. Media
is private and fetched at build time using vercel-submodules.
- Media:
public/static/images/media
Request type | URI | Params |
---|---|---|
GET |
/api/books |
None |
This API returns the books I'm currently reading on Oku, transformed from the RSS feed available on the appropriate collection.
Request type | URI | Params |
---|---|---|
GET |
/api/movies |
None |
This API returns the movies I've recently logged on Letterboxd, transformed from the RSS feed available on my profile.
Request type | URI | Params |
---|---|---|
GET |
/api/music |
{ type?: string; limit?: string; format?: string; period?: string } |
This API returns the music I've recently listened to and scrobbled to Last.fm. It supports several parameters, namely type
which is used to determine what whether albums, artists or tracks are returned. The limit
parameter controls the number of entries in te response. The format
parameter controls the response format (XML or JSON) and the period
parameter controls the time period covered in the response.
Request type | URI | Params |
---|---|---|
GET |
/api/tv |
None |
This API returns the tv episodes I've recently logged on Trakt fetched from their API.
Request type | URI | Params |
---|---|---|
GET |
/api/webfinger |
None |
GET |
/.well-known/webfinger |
None |
This returns a response consistent with the Webfinger specification intended to make discovery on open platforms like Mastodon easier (e.g. searching for anything@coryd.dev
will yield my profile in search).
Request type | URI | Params |
---|---|---|
GET |
/api/tv |
{ target: string } |
This returns webmentions for a given post on my site, with the target
parameter accepting a url for the target post.