Name: table-editor
Owner: INCATools
Description: Lightweight CSV/TSV editor that supports autocomplete and is guided by a DOSDP-aware YAML configuration.
Created: 2017-01-31 00:15:06.0
Updated: 2017-06-16 15:45:52.0
Pushed: 2017-12-11 20:06:35.0
Homepage: null
Size: 3146
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This lightweight web application is intended to be deployed as a static single-page website, where the site can then be used to view and edit spreadsheet-formatted data while supporting autocomplete and selection from semantically associated ontologies and dictionaries. Both TSV and CSV are supported, and are collectively referred to as XSV in the software and documentation.
The initial specification for this table-editor is drawn from https://github.com/INCATools/intelligent-concept-assistant/issues/2
The app has a few preloaded examples of YAML and CSV.
A local XSV file can be viewed through the app by using the 'Load File' button or by dragging and dropping a file onto the dropzone
A remote XSV file can be loaded via URL.
Note that if the remote file is hosted on a website that does not support CORS, then the request will be rejected. Such files can be copied locally and then viewed that way, however.
url
parameterThe table-editor
app is designed so that the URL pointing to the app can be amended with an optional url
parameter that points to a XSV file, subject to the same restrictions as Load URL above. For example, suppose this app is hosted on https://github.com/INCATools/table-editor and a desired Table file is hosted on http://www.example.com/MyTableFile.gv. Then the following URL will launch the table-editor app and cause it to load and render the specified file:
https://github.com/INCATools/table-editor?url=http://www.example.com/MyTableFile.gv
This is what I use, you may get lucky with slightly older/newer versions. Don't even bother trying Node 0.1x.
Tested on MacOSX Safari, Chrome and FireFox. Requires some form of http-server. npm run dev
will invoke the WebPack server for auto-bundling during development, and this is sufficient for demo purposes.
able-editor/ # If you aren't alread there
install
run build # 'npm run fastbuild' to avoid minification
run dev
http://localhost:8085/webpack-dev-server/table-editor # On MacOSX
ternatively, point your browser to:
http://localhost:8085/webpack-dev-server/table-editor