Giter VIP home page Giter VIP logo

jake-is-listening's Introduction

Jake Is Listening

Paginated public JSON files containing what I am listening to, and a simple Vue interface.

Development

  • write data in /data-source.json
  • yarn serve will start hosting ./docs at localhost:8000
  • yarn build will clean, paginate and minify the json to ./docs/data/.

Publish

Tweeting

  • yarn tweet
  • follow the instructions to select a entry to tweet
  • if the entry you are looking for doesn't exist, you probably need to yarn build
  • I was gonna use the Twitter API to post, but realized it's about just as much work to copy paste.
  • This will spit out formatted text within the character limit as a preview as well as copy it to your clipboard (MacOS).

Importing a Spotify Playlist

Setup a Spotify Developer account and a new application. Ensure ./secrets.js exists and has the following content for spotify:

module.exports = {
  spotify: {
    id: "<CLIENT_ID>",
    secret: "<CLIENT_SECRET>",
    playlist: "<PLAYLIST_ID>"
  }
};
  • yarn spotify will format the Spotify playlist into ./data-source.tmp.json.
  • Copy and paste the contents into data-source.json and fill the rest out.
  • I like to paste the contents into data-source.queue.json until I am finished editing.

jake-is-listening's People

Contributors

ja-k-e avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

not-a-dev0

jake-is-listening's Issues

split up json at scale

have the build process generate multiple json files with headers for pagination. update the client to progressively load.

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.