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

https://github.com/onukura/gitbucket-csvtsv-plugin

csv and tsv file rendering plugin for GitBucket
https://github.com/onukura/gitbucket-csvtsv-plugin

gitbucket gitbucket-plugin

Last synced: 11 months ago
JSON representation

csv and tsv file rendering plugin for GitBucket

Awesome Lists containing this project

README

          

# gitbucket-csvtsv-plugin

[![Build Status](https://travis-ci.org/onukura/gitbucket-csvtsv-plugin.svg?branch=master)](https://travis-ci.org/onukura/gitbucket-csvtsv-plugin)

A GitBucket plugin for rendering csv and tsv file.

## Screenshot

![screenshot](https://github.com/onukura/gitbucket-csvtsv-plugin/blob/assets/screenshot.png?raw=true)

## Install

1. Download *.jar from Releases.
2. Deploy it to `GITBUCKET_HOME/plugins`.
3. Restart GitBucket.

## Build from source

```sbt
sbt clean package
```

The built package is located at
`target/scala-2.13/gitbucket-csvtsv-plugin_2.13-{plugin-version}.jar`.

```sbt
sbt assembly
```

This makes the assembly package
`target/scala-2.13/gitbucket-csvtsv-plugin-{plugin-version}.jar`
for deployment.

## Supported type

Delimiter : `,`, `\t`.
Quote : with quote `"`, without quote, mix.

#### Example

- input

```
"a",b,"c","de,f",ge"h
1, 2, 3, 4, 5
```

- output

| a | b | c | de,f | ge"h |
| --- | --- | --- | --- | --- |
| 1 | 2 | 3 | 4 | 5 |

## Note

Large (> about 512kb) files will not be rendered for browser performance.

## Version

Plugin version|GitBucket version
:---|:---
1.0.x |4.32.x -