diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..c1cc1d0 --- /dev/null +++ b/COPYING @@ -0,0 +1,8 @@ + +Copyright 2020 Zhiming Wang + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..f630a24 --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +# annie-mingui + +![screenshot](screenshot.png) + +annie-mingui is a minimal GUI for [iawia002/annie](https://github.com/iawia002/annie), the video downloader. + +It is in part an experiment to build a GUI application in Go, coming from someone who's written a grand total of <1k lines of Go. It's not a roaring success. Other GUI toolkits are incomplete and terrible all around, the Qt binding is at least usable (I wasn't able to install it in go modules mode though, and related bug reports haven't seen any activity since they've been posted a while ago) but compilation is very slow especially on Windows (I also had to jump through undocumented hoops on Windows to sidestep build errors). Documentation besides some examples is basically nonexistent. + +As for the result itself, one extremely annoying bug is random crashing every few minutes. Downloads are resumable but apparently no one wants to monitor and relaunch every few minutes. I spent a bit of time debugging but wasn't able to track it down. I'm not fluent in Qt to begin with and the binding seems to differ fundamentally on the signal/slot side; compounded by the fact that I'm new to Go too, I think it must come down to defective understanding of the concurrency model somewhere along the line. diff --git a/screenshot.png b/screenshot.png new file mode 100644 index 0000000..dd00f13 Binary files /dev/null and b/screenshot.png differ