Giter VIP home page Giter VIP logo

dunebot's Introduction

bottenheimer

Monitors for nuclear bomb movie seats. Low quality code--wrote this in less than 24 hours. Also was my first time doing much reverse-engineering of a graphql backend, so I'm probably very sloppy with what I've done there.

Usage

First, install all dependencies by running npm install.

Building

To generate TypeScript types for the GraphQL schema, run npm run codegen. This you only need to do once.

Running the monitoring service

To run the monitoring service, run npm run monitor. This will start the monitoring service without Twitter integration. To start the monitoring service with Twitter integration, run npm run monitor:twitter.

Twitter environment variables

TWITTER_CLIENT_ID and TWITTER_CLIENT_SECRET must be set.

Generating a Twitter bearer token

To generate a Twitter bearer token, run npm run twitterauth.

Scripts:

  • test: Runs the test suite for the project. This script is currently not implemented and will exit with an error message.
  • codegen: Generates TypeScript types for the GraphQL schema using graphql-codegen. The configuration for this script is defined in codegen.ts.
  • build: Compiles the TypeScript code in the src directory and outputs the compiled JavaScript files to the dist directory.
  • monitor: Starts the monitoring service for the project.
  • monitor:twitter: Starts the monitoring service for the project with Twitter integration.
  • twitterauth: Runs the Twitter authentication script to generate a bearer token for the Twitter API.

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.