dustin-api icon indicating copy to clipboard operation
dustin-api copied to clipboard

API for my personal projects, and websites, written in TypeScript using Fastify

dustin.rest

This is my personal api, it has many uses but was originally made to update my github gist, then the github release profile readme, and of course I had to just keep going lol.

Hosted version: rest.dstn.to

Features

Right now this api does only useful things to me, well.. Maybe somewhat useful to me, and as a good reference if you want do something similar.

  • Spotify Current Playing [/spotify]
  • Current State (Sleeping, music playing, ect) [/state]
  • Current Stats (Hours writing code, commands run, docker builds, ect) [/stats]
  • Auto updating github profile README
  • Auto updating github gist
  • Twitter follower history tracking
  • Spotify listening history [/spotify/history]
  • Wakatime development time

Tech used

  • Fastify (HTTP Server)
  • Redis (Caching)
  • Rabbit (Messaging to and from my Realtime Gateway)
  • Cassandra (Database)
  • Postgres (Database)
  • Kubernetes (Deployment)
  • JWT (Internal Authentication)
  • Minio (S3) (Image/file hosting)