Skip to content

Commit 7dc4565

Browse files
committed
Update README
1 parent 3079464 commit 7dc4565

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,15 @@
1-
# null-pointer-client
2-
Simple GO client for [The Null Pointer](https://0x0.st/)
1+
# npu
2+
3+
# [![npu](static/screenshot.png)](https://github.com/overflowy/null-pointer-uploader)
4+
5+
Simple GO client for [The Null Pointer](https://0x0.st/) file-sharing service.
6+
7+
## How it works
8+
9+
When executed, the program reads the specified file and creates a multipart/form-data POST request to send to the 0x0.st API. The uploaded file is included as a form file with the name file. The expiration and secret options, if specified, are also included as form fields.
10+
11+
Upon a successful upload, the program outputs the URL to the uploaded file to the console and also writes it to the clipboard.
12+
13+
## License
14+
15+
The code in this repository is licensed under the MIT License. See LICENSE for more information.

0 commit comments

Comments
 (0)