Skip to content

githubocto/flat-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Matt Rothenberg
Feb 9, 2022
c5fbdb0 Β· Feb 9, 2022
Aug 26, 2021
May 19, 2021
Jan 21, 2022
Mar 22, 2021
May 13, 2021
May 17, 2021
Mar 26, 2021
Feb 9, 2022
Mar 18, 2021
Apr 26, 2021
Mar 18, 2021
Mar 11, 2021
May 19, 2021
Feb 9, 2022

Repository files navigation

Flat Viewer

πŸ‘‰πŸ½ πŸ‘‰πŸ½ πŸ‘‰πŸ½ Full writeup: Flat Data Project πŸ‘ˆπŸ½ πŸ‘ˆπŸ½ πŸ‘ˆπŸ½

Flat Viewer is a tool to view un-nested data (CSV & JSON files) in an interactive table. The table has various affordances for exploring the data, such as:

  • filtering
  • sorting
  • sticky header and column
  • diffs for specific commits that change the data

Flat Viewer

What is Flat Data?

Flat Viewer is part of a larger project to make it easy to fetch and commit data into GitHub repositories. The action is intended to be run on a schedule, retrieving data from any supported target and creating a commit if there is any change to the fetched data. Flat Data builds on the β€œgit scraping” approach pioneered by Simon Willison to offer a simple pattern for bringing working datasets into your repositories and versioning them, because developing against local datasets is faster and easier than working with data over the wire.

Usage

To use Flat Viewer, prepend flat to the URL of your GitHub repo:

from: github.com/githubocto/flat-demo-covid-dashboard to: flatgithub.com/githubocto/flat-demo-covid-dashboard

Development

To run locally:

yarn # to install dependencies
yarn dev

Deployment

flatgithub.com will automatically re-build and deploy when changes are pushed to the main branch.

Issues

If you run into any trouble or have questions, feel free to open an issue.

❀️ GitHub OCTO

License

MIT