Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ftl/localcopy
A Go library to manage a local copy of an online resource.
https://github.com/ftl/localcopy
http utility
Last synced: 1 day ago
JSON representation
A Go library to manage a local copy of an online resource.
- Host: GitHub
- URL: https://github.com/ftl/localcopy
- Owner: ftl
- License: mit
- Created: 2018-04-26T14:32:18.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-06-16T14:26:56.000Z (over 5 years ago)
- Last Synced: 2023-08-10T23:10:32.466Z (over 1 year ago)
- Topics: http, utility
- Language: Go
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# localcopy
The library localcopy manages a local copy of a resource that is available through HTTP(s). It provides functions do download the resource and to check if an update of the local copy is necessary.The update check is done using a HEAD request and comparing the last modification date of the local copy with the Last-Modified header of the HTTP response.
This tool is written in Go on Linux. It might also work on OS X or Windows, but I did not try that out.
## Disclaimer
I develop this tool for myself and just for fun in my free time. If you find it useful, I'm happy to hear about that. If you have trouble using it, you have all the source code to fix the problem yourself (although pull requests are welcome).## License
This tool is published under the [MIT License](https://www.tldrlegal.com/l/mit).Copyright [Florian Thienel](http://thecodingflow.com/)