Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gingerhot/ipfg
Public IPFS Gateway Checker in Golang
https://github.com/gingerhot/ipfg
ipfs ipfs-gateway public-gateway
Last synced: 39 minutes ago
JSON representation
Public IPFS Gateway Checker in Golang
- Host: GitHub
- URL: https://github.com/gingerhot/ipfg
- Owner: gingerhot
- Created: 2018-12-23T16:52:58.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-11-20T21:16:03.000Z (about 1 year ago)
- Last Synced: 2024-04-14T19:47:07.087Z (9 months ago)
- Topics: ipfs, ipfs-gateway, public-gateway
- Language: Go
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# IPFS Public Gateway Checker in Golang
This's a Golang version which migrates from:
* [public-gateway-checker](https://github.com/ipfs/public-gateway-checker) An online webpage of JS version
* [ipfg](https://github.com/JayBrown/Tools/tree/master/ipfg) A shell cli version### Installation
```bash
go get github.com/gingerhot/ipfg
```### Usage
After installation, there will be a command `ipfg` available for you.
```bash
ipfg # to get one available gateway url for you
ipfg all # get all available gateway urls
ipfg help # show help message
```
And you can import `github.com/gingerhot/utils` in your code, just as what I do in the [main.go](./main.go).
There're two methods for you: `Get()` and `ActiveList()`. More detail: [godoc](https://godoc.org/github.com/gingerhot/ipfg/utils)