D

Personal Projects

A lot of small toy projects can be found on my GitHub and Glitch (and a number of small plugins and scripts can be found on my Gists), mostly these exist to play around with some tech or solve a very small problem for myself. Here's an assortment of things that I'm proud of though:

  • Year in Fractions , a Twitter bot inspired by @year_progress , powered by Express, tweets daily how far through the year we are as a (usually approximate) fraction
  • This very site , a Gatsby site running on Netlify
  • Wizzbo , a Discord bot that acts as a playground for me to try out ideas, but with the functionality to deploy subsets of commands as their own sub-bots
  • Consnake , Snake, but playable in the devtools (opening devtools here will start the game 👀)
  • Christmas Eve Eve , a very dumb single-page thing based on an old XKCD
  • PuppetDF, what started as a hacky proof-of-concept that turned out to be surprisingly useful. An app that takes a URL and uses Puppeteer (a headless Chromium browser) to output a PDF
  • slice-or-substr, a kind of broken toy that demonstrates how slice, substring and substr all work in JavaScript, because I can never remember

Games

I've casually toyed with making small games here and there, and here's what has stuck:

  • British Bulldog , a game made in collaboration with a few friends with minimal communication, built in the Lua-based framework LÖVE, most of my work was refactoring, completing features and polishing, but I also added a splash screen inspired by old cracktros
  • Build-n-Blocks , a game made as part of a small "Build" themed game jam in a fortnight, also built in LÖVE. The game is a 1-bit falling block puzzle game, with a Gameboy RPG-esque overworld

Other coding miscellany

I've participated in Advent of Code for a number of years (but have yet to fully complete a year), usually in terse JavaScript, and keep my code here: davidsharp/advent-of-code


Here's some bitbar/xbar plugins for macOS (all GitHub gists):

  • Weather, a weather plugin that uses wttr.in
  • Spotify, a plugin that displays the currently playing song, with some shortcuts and controls
  • Shuffle Spotify, a plugin that adds a shuffle/unshuffle button to the menu bar
  • COVID Stats, a plugin that uses diseases.sh to get the country's COVID stats
  • Toggle Mono/Stereo audio (may no longer work), a plugin that adds a button to toggle accessibility options for mono/stereo audio
  • Clipboard Spy, a plugin that shows what's on your clipboard, with an option to clear it
© 2022, built by David himself