Our great sponsors
-
pcopy
pcopy is a temporary file host, nopaste and clipboard across machines. It can be used from the Web UI, via a CLI or without a client by using curl.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
re 1: as fellow gopher has said, `io.CopyN` is your friend, though I have recently implemented a similar thing that may be interesting to you. I implemented a `Peak()` method that will read up to N bytes and return a reader that can be read as if it's the original reader, but you'll be able to get the `PeakedBytes` from it too: https://github.com/binwiederhier/pcopy/blob/master/util/peak.go
Related posts
- File share via HTTP link?
- Self Hosted Pastebin Website
- Looking for Docker based Self Hosted Pastebin
- I made a temporary file host, nopaste and clipboard across machines. It can be used from the Web UI, via a CLI or without a client by using curl. It's open source, and I host a demo on https://nopaste.net
- pcopy: secure copy/paste across machines, with a web UI