@@ -11,7 +11,7 @@ A modern, high-performance netcat-to-clipboard service written in Go, inspired b
1111## Overview
1212
1313nclip is a dual-input clipboard service that accepts content via:
14- - ** netcat (nc)** - Traditional command-line input: ` echo "text" | nc localhost 9999 `
14+ - ** netcat (nc)** - Traditional command-line input: ` echo "text" | nc localhost 8099 `
1515- ** HTTP/curl** - Modern web API: ` echo "text" | curl -d @- http://localhost:8080 `
1616- ** HTTP/curl** - Web API with multilines support: ` ps | curl --data-binary @- http://localhost:8080 `
1717- ** Web UI** - Browser interface at ` http://localhost:8080 `
@@ -47,7 +47,7 @@ go build -o nclip .
4747./nclip
4848
4949# Using netcat (traditional)
50- echo " Hello World!" | nc localhost 9999
50+ echo " Hello World!" | nc localhost 8099
5151
5252# Using curl (modern)
5353echo " Hello World!" | curl -d @- http://localhost:8080
@@ -61,10 +61,10 @@ open http://localhost:8080
6161### Command Line
6262``` bash
6363# Share a file via netcat
64- cat myfile.txt | nc localhost 9999
64+ cat myfile.txt | nc localhost 8099
6565
6666# Share command output
67- ls -la | nc localhost 9999
67+ ls -la | nc localhost 8099
6868
6969# Share via HTTP with curl
7070echo " Secret message" | curl -d @- http://localhost:8080
@@ -76,7 +76,7 @@ curl -d @myfile.txt http://localhost:8080
7676### Configuration
7777``` bash
7878# Custom ports and domain
79- ./nclip -domain paste.example.com -tcp-port 9999 -http-port 8080
79+ ./nclip -domain paste.example.com -tcp-port 8099 -http-port 8080
8080
8181# Use MongoDB storage
8282./nclip -storage-type mongodb -mongodb-uri mongodb://localhost:27017
@@ -102,7 +102,7 @@ cd nclip
102102docker-compose up -d
103103
104104# Access the service
105- echo " Hello Docker!" | nc localhost 9999
105+ echo " Hello Docker!" | nc localhost 8099
106106```
107107
108108### Kubernetes
0 commit comments