Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/snaka/whatsmyip
Discover your public ip address
https://github.com/snaka/whatsmyip
golang webrtc
Last synced: 4 days ago
JSON representation
Discover your public ip address
- Host: GitHub
- URL: https://github.com/snaka/whatsmyip
- Owner: snaka
- License: mit
- Created: 2020-01-05T06:32:56.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-21T20:53:00.000Z (over 1 year ago)
- Last Synced: 2024-10-15T02:02:58.172Z (26 days ago)
- Topics: golang, webrtc
- Language: Go
- Size: 20.5 KB
- Stars: 9
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-pion - snaka/go-whatsmyip - Discover your public IP address (DataChannel)
README
```
_ _ _ _ ___
__ __ | |__ __ _ | |_ ( ) ___ _ __ ___ _ _ (_) _ __ |__ \
\ \ /\ / / | '_ \ / _` | | __| |/ / __| | '_ ` _ \ | | | | | | | '_ \ / /
\ V V / | | | | | (_| | | |_ \__ \ | | | | | | | |_| | | | | |_) | |_|
\_/\_/ |_| |_| \__,_| \__| |___/ |_| |_| |_| \__, | |_| | .__/ (_)
|___/ |_|
```whatsmyip
=========Discover your public ip address.
## Installing
```
go get github.com/snaka/whatsmyip
```## Usage
```
$ whatsmyip
113.43.xxx.xxx
```## License
MIT License.
## References
* [pion/webrtc: Pure Go implementation of the WebRTC API](https://github.com/pion/webrtc)
* [JavaScriptでグローバルIPを取得する(パブリックSTUNサーバーを利用) - Qiita](https://qiita.com/azechi/items/1a7832e346f42402cca6)