https://github.com/puutaro/ctsvviewer
Advanced csv & tsv viewer in CommandClick
https://github.com/puutaro/ctsvviewer
browser browser-addon cmdclick commandclick fannel javascript
Last synced: about 1 year ago
JSON representation
Advanced csv & tsv viewer in CommandClick
- Host: GitHub
- URL: https://github.com/puutaro/ctsvviewer
- Owner: puutaro
- License: mit
- Created: 2023-12-04T15:06:48.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-09-08T03:19:48.000Z (over 1 year ago)
- Last Synced: 2025-02-12T18:47:01.705Z (about 1 year ago)
- Topics: browser, browser-addon, cmdclick, commandclick, fannel, javascript
- Language: JavaScript
- Homepage: https://github.com/puutaro/CommandClick
- Size: 160 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ctsvViewer.js
----------------
Advanced csv & tsv viewer @puutaro
Table of Contents
-------
* [Installation](#installation)
* [Toolbar buttons](#toolbar-buttons)
* [Play Button](#play-button)
* [Cmd Variables](#cmd-variables)
* [inputCTsvPath](#inputctsvpath)
* [scrollBoost](#scrollboost)
* [colRange](#colrange)
* [rowRange](#rowrange)
* [startColNum](#startcolnum)
* [startRowNum](#startrownum)
* [autoScrollType](#autoscrolltype)
* [viewType](#viewtype)
* [rowLimit](#rowlimit)
* [filters](#filters)
* [Table static word](#table-static-word)
* [Acknowledge](#acknowledge)
* [Setting variables](#setting-variables)
* [terminalFontZoom](#terminalfontzoom)
* [terminalFontColor](#terminalfontcolor)
* [terminalColor](#playmode)
## Installation
--------------
1. Install [ComamndClick](https://github.com/puutaro/CommandClick#app-installation) to your android
2. Install this fannel by [install repo](https://github.com/puutaro/CommandClick/blob/master/USAGE.md#install-fannel) or QR code
## Toolbar buttons
### Play Button
View csv by cmd variables setting
## Cmd Variables
--------
### inputCTsvPath
set csv or tsv path
### scrollBoost
Auto scroll boost rate
| scroll gain | description |
| ------ | ------ |
| 0 | one step |
| 1 | spedify direction range step |
| other | specifyDirectStartNum + 1 + specifyDirectRange * scrollBoost |
### colRange
view column range num
### rowRange
view row range num
### startColNum
start column index
### startRowNum
start row index
### autoScrollType
Auto scroll direction
| scroll type | direction |
| ------ | ------ |
| horizon | left to right |
| rHorizon | right to left |
| vartical | top to bottom |
| rVartical | bottom to top |
### viewType
| view type | description |
| ------ | ------ |
| `SRC` | src csv or tsv |
| `AGGRE` | aggregated table |
| `CHART` | aggregated chart |
### rowLimit
Row limit about view
(more smaller this value, more shoter reading speed up)
### filters
filter query
| query | description |
| ------ | ------ |
| `in` | by included word |
| `>=` | by equal larger |
| `>` | by larger |
| `<=` | by equal smaller |
| `>` | by smaller |
| `=` | by equal |
### Table static word
| word | description |
| ------ | ------ |
| `maxW` | maximum frequent word
| `sumMaxW` | count maximum frequent word
| `minW` | minimum frequent word
| `sumMinW` | count minimum frequent word
| `avrW` | middle frequent word
| `sumAvrW` | count middle frequent word
## Acknowledge
----------
This Fannel is used to bellow repo.
[Chart.js](https://github.com/chartjs/Chart.js)
## Setting variables
---------
### terminalFontZoom
Adjust terminal font size (percentage)
### terminalFontColor
Adjust terminal font color
### terminalColor
Adjust terminal background color