Giter VIP home page Giter VIP logo

git-now-playing's People

Contributors

dependabot[bot] avatar paddycarver avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

nat-henderson

git-now-playing's Issues

๐Ÿ“– README

Gotta set up a README talking about how to install and use this thing.

  • Downloading (probably should publish some binaries, huh?)
  • Setting up Vault
  • Writing the config file
  • Getting the Spotify API token
  • Getting Plex tokens
  • Running as a daemon
  • Configuring git

โš’๏ธ Add a CLI tool for extracting info between two revisions

We should be able to pass in any two git refs (tag, branch, commit, etc.) and then pull all the music logged in between those two refs. This would let us have "release playlists", containing all the songs (ordered by frequency? ordered by date? ordered by both?) that developers listened to during a release.

๐Ÿค” Consider invoking this on a git hook instead of running it as a daemon?

So @dstaley pointed out that, in theory, this could be run as a pre-commit hook instead of being run as a background daemon.

Pros:

  • I'm not making API requests every 5 seconds and writing to disk every few minutes
  • Spotify would probably appreciate it
  • There's now an operator in the loop for failures so when, e.g., I forget to restart the systemd service after unlocking Vault on a server restart, there's an actual error at commit time instead of getting wrong/no info

Cons:

  • The API requests are now blocking for committing, meaning I'm introducing a potentially seconds-long delay between git commit and the editor popping up
  • I'd have to actually do something, because it's already written the other way

This is probably the Right Way To Do Things, and I'll end up doing it some day when I get annoyed enough, ugggh.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.