Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mingweisamuel/muni-sign

SFMTA Muni bus stop sign generator!
https://github.com/mingweisamuel/muni-sign

public-transport svelte

Last synced: 11 days ago
JSON representation

SFMTA Muni bus stop sign generator!

Awesome Lists containing this project

README

        

# Muni Sign

Generate SFMTA Muni signs from their stop IDs for fun!

This website is built with [Svelte](https://svelte.dev/).

## Development

First, clone the repository:

```bash
git clone [email protected]:MingweiSamuel/muni-sign.git
cd muni-sign
```

Install dependencies:

```bash
npm ci
```

Then run the dev server:

```bash
npm run dev
```

### Updating stop data

Stop data is stored in the `public/data` folder. The [gh-pages](https://github.com/MingweiSamuel/muni-sign/tree/gh-pages/data)
version of this data is kept up-to-date by gh-actions, however the versions
committed to main may become out-of-date.

To update them you will need Powershell 7 (AKA "Powershell Core") and the
["q" command-line SQL tool](https://harelba.github.io/q/).
* [Install Powershell](https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell?view=powershell-7)
* [Install q](https://harelba.github.io/q/#installation)

Then run the build to fetch and process the GTFS data:
```bash
npm run build
```

If you want to update the stop data again you should delete the `sfmta_gtfs`
folder first to trigger a re-download.