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

https://github.com/zweifisch/share

sharing code snippets with teammates
https://github.com/zweifisch/share

Last synced: 10 days ago
JSON representation

sharing code snippets with teammates

Awesome Lists containing this project

README

          

# share

sharing code snippets with teammates

## install

```
go get github.com/zweifisch/share
```

## usage

start server

```sh
$ share server
listen on 8909
```

publish snip

```sh
$ cat /var/log/app.log | share
http://localhost:8909/0
```

from clipboard

```sh
$ share
http://localhost:8909/1
```

connect to a remote server

```sh
$ cat source.py | share --remote http://192.168.11.16:8909
```

get an entry

```sh
$ share get 17
```

## config

```sh
$ share set client.remote http://192.168.1.10:8909
$ share set server.port 8909
$ share set server.root ~/.share
```

## development

```sh
go-bindata public/...
```