wxWidgets based Stable Diffusion C++ GUi
Ferenc Szontágh
2024-02-04 1683c8a090c3efc51c43107d5ede0dcd5d506e3b
README.md
@@ -43,6 +43,27 @@
## - TO-DOs
See @git.spamming.hu ticketing system
### Hash generation from binary
Repo: [okdshin/PicoSHA2](https://github.com/okdshin/PicoSHA2)
RAW file: [picosha2.h](https://raw.githubusercontent.com/okdshin/PicoSHA2/master/picosha2.h)
Example:
```C++
std::ifstream f("file.txt", std::ios::binary);
std::vector<unsigned char> s(picosha2::k_digest_size);
picosha2::hash256(f, s.begin(), s.end());
```
### restclient-cpp
Curl wrapper to civiati api:
[repo](https://github.com/mrtazz/restclient-cpp)
installed via vcpkg as cmake dependency
[CivitAi API docs](https://github.com/civitai/civitai/wiki/REST-API-Reference#get-apiv1models-versionsby-hashhash)
### - IDE
Use the vscode... Install the extensions which is recommended by the workspace