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
- Host: GitHub
- URL: https://github.com/zweifisch/share
- Owner: zweifisch
- Created: 2014-10-03T05:05:38.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-10-10T03:35:06.000Z (almost 12 years ago)
- Last Synced: 2025-03-22T18:45:12.857Z (over 1 year ago)
- Language: Go
- Size: 184 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/...
```