https://github.com/lnenad/probster
A simple GTK app for http testing
https://github.com/lnenad/probster
api gtk testing
Last synced: 5 months ago
JSON representation
A simple GTK app for http testing
- Host: GitHub
- URL: https://github.com/lnenad/probster
- Owner: lnenad
- Created: 2021-02-01T19:39:43.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-07T11:52:33.000Z (over 5 years ago)
- Last Synced: 2024-06-20T08:05:20.557Z (about 2 years ago)
- Topics: api, gtk, testing
- Language: Go
- Homepage: https://probster.com
- Size: 8.66 MB
- Stars: 16
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Probster
API probing tool
## Setup
Install gtk
https://github.com/gotk3/gotk3/wiki/Installing-on-Windows
https://github.com/gotk3/gotk3/wiki/Installing-on-macOS
## Compiling (windows)
Extract and copy deps to build (exec from mingw64)
`ldd probster.exe | grep '\/mingw.*\.dll' -o | xargs -I{} cp "{}" build`
Copy `dbus.exe` from `/msys64/mingw64/bin` folder to `build`
Copy `lib/gdk-pixbuf-2.0` from `/msys64/mingw64/` folder to `build/lib`
Copy `share/icons` from `/msys64/mingw64/` to `build/share`
Generate syso file to embed icon to executable using `https://github.com/akavel/rsrc`
`rsrc -ico build/icon.ico`
Compile with `CGO_ENABLED=1 GOOS=windows GOARCH=amd64 go build -i -ldflags -H=windowsgui`
## Important
GTK is not thread safe so this is helpful
https://github.com/conformal/gotk3/blob/master/gtk/examples/goroutines/goroutines.go
## Maintainers
* [lnenad](https://github.com/lnenad)