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

https://github.com/thzinc/gtfs-xlsx

Command line tool to convert between GTFS files and Excel workbooks
https://github.com/thzinc/gtfs-xlsx

Last synced: about 2 months ago
JSON representation

Command line tool to convert between GTFS files and Excel workbooks

Awesome Lists containing this project

README

        

# GTFS to XLSX (and vice versa)

Converts a [GTFS Static][gtfs-static] feed file into a Microsoft Excel workbook for convenient manual editing. Also converts an Excel workbook back to a GTFS Static feed file.

![Screenshot of a GTFS feed unzipped into a directory next to Microsoft Excel with spreadsheet tabs for each of the files](screenshot.png)

[gtfs-static]: https://developers.google.com/transit/gtfs

## Quickstart

Install `GtfsXlsxCli` using one of the following methods:

1. Use `dotnet` to install a global tool:
```bash
dotnet tool install --global GtfsXlsxCli
```
2. Download the [latest release][releases] for your operating system and architecture and unarchive/unzip it into a path on your computer.

Convert to Microsoft Excel workbook:

```bash
GtfsXlsxCli --from "MyFeed.zip" --to "MyFeed.xlsx"
```

Convert to GTFS Static feed file:

```bash
GtfsXlsxCli --from "MyFeed.xlsx" --to "MyFeed.zip"
```

Get description of all command line arguments:

```bash
GtfsXlsxCli --help
```

[releases]: https://github.com/thzinc/gtfs-xlsx/releases

## Building

[![Build status][build-img]][build]
[![latest GitHub release][release-img]][release]
[![Latest NuGet version][nuget-img]][nuget]

The project can be loaded with VSCode or Visual Studio for local development.

To build and package for each supported OS/architecture:

```bash
make package
```

[build-img]: https://img.shields.io/github/actions/workflow/status/thzinc/gtfs-xlsx/build.yaml
[build]: https://github.com/thzinc/gtfs-xlsx/actions/workflows/build.yaml
[release-img]: https://img.shields.io/github/v/release/thzinc/gtfs-xlsx?sort=semver
[release]: https://github.com/thzinc/gtfs-xlsx/releases/latest
[nuget-img]: https://img.shields.io/nuget/v/GtfsXlsxCli
[nuget]: https://www.nuget.org/packages/GtfsXlsxCli

## Code of Conduct

We are committed to fostering an open and welcoming environment. Please read our [code of conduct](CODE_OF_CONDUCT.md) before participating in or contributing to this project.

## Contributing

We welcome contributions and collaboration on this project. Please read our [contributor's guide](CONTRIBUTING.md) to understand how best to work with us.

## License and Authors

[![Daniel James logo](https://secure.gravatar.com/avatar/eaeac922b9f3cc9fd18cb9629b9e79f6.png?size=16) Daniel James](https://github.com/thzinc)

[![license](https://img.shields.io/github/license/thzinc/gtfs-xlsx.svg)](https://github.com/thzinc/gtfs-xlsx/blob/master/LICENSE)
[![GitHub contributors](https://img.shields.io/github/contributors/thzinc/gtfs-xlsx.svg)](https://github.com/thzinc/gtfs-xlsx/graphs/contributors)

This software is made available by Daniel James under the MIT license.