https://github.com/githubocto/flat-viewer
Data viewer for Flat repos
https://github.com/githubocto/flat-viewer
flat-data
Last synced: 10 months ago
JSON representation
Data viewer for Flat repos
- Host: GitHub
- URL: https://github.com/githubocto/flat-viewer
- Owner: githubocto
- License: mit
- Created: 2021-03-11T21:36:48.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-02-26T20:57:45.000Z (12 months ago)
- Last Synced: 2025-03-31T15:18:02.442Z (11 months ago)
- Topics: flat-data
- Language: TypeScript
- Homepage: https://flatgithub.com
- Size: 10.3 MB
- Stars: 149
- Watchers: 4
- Forks: 20
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Flat Viewer
ππ½ ππ½ ππ½ **Full writeup**: [Flat Data Project](https://octo.github.com/projects/flat-data) ππ½ ππ½ ππ½
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

## 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](https://simonwillison.net/2020/Oct/9/git-scraping/) 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`](http://github.com/githubocto/flat-demo-covid-dashboard)
to: [`flatgithub.com/githubocto/flat-demo-covid-dashboard`](http://flatgithub.com/githubocto/flat-demo-covid-dashboard)
## Development
To run locally:
```bash
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](https://github.com/githubocto/flat-editor/issues).
β€οΈ GitHub OCTO
## License
[MIT](LICENSE)