Code Monkey home page Code Monkey logo

riddimfutar-utils's Introduction

riddimfutár-api

This is a Serverless API with Node.js and AWS for the RIDDIMFUTÁR app.

Important legal stuff

This project is not afflitiated with the Budapesti Közlekedési Központ (BKK) and the Forgalomirányítási és Utastájékoztatási Rendszer (FUTÁR) in any way. This project is solely for educational and experimental purposes.

File structure

- dataSrc
    - gtfs
        - feed_info.txt
        - agency.txt
        - shapes.txt
        - routes.txt
        - stops.txt
        - trips.txt
        - stop_times.txt
        - calendar_dates.txt
        - pathways.txt
    - mp3
        - nnn.mp3
- dataGen
    - data.json

GTFS data provided by BKK: source

Scripts

Run with npm run [scriptname]

  • listen

    • Listens to the mp3 files under dataSrc/mp3/xxx.mp3 and renames them to match their content. E.g. if the filename is 03.mp3 and the content is Széll Kálmán tér metróállomás, the filename is going to be szellkalmanterm.mp3.
  • initDb

    • Initializes mongodb on the specified URL with names of the stops and the matched MP3 files.

Environment variables

riddimfutar-utils's People

Contributors

dnlgrgly avatar

Stargazers

Roman avatar

Watchers

 avatar

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.