-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathREADME.md
306 lines (234 loc) · 10.5 KB
/
README.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
# WebGui
- Web Technologies based Crossplatform GUI.
![](https://img.shields.io/github/languages/top/juancarlospaco/webgui?style=for-the-badge)
![](https://img.shields.io/github/stars/juancarlospaco/webgui?style=for-the-badge "Star webgui on GitHub!")
![](https://img.shields.io/github/languages/code-size/juancarlospaco/webgui?style=for-the-badge)
![](https://img.shields.io/github/issues-raw/juancarlospaco/webgui?style=for-the-badge "Bugs")
![](https://img.shields.io/github/issues-pr-raw/juancarlospaco/webgui?style=for-the-badge "PRs")
![](https://img.shields.io/github/last-commit/juancarlospaco/webgui?style=for-the-badge "Commits")
## Install
```bash
$ nimble install webgui
```
WebGUI also requires that your OS have the GTK+ 3.0 and webkit2gtk 4.0 packages installed
(Nimble should ask for these system dependencies on Ubuntu).
Generic instructions can be found at:
* https://www.gtk.org/docs/installations
* https://webkitgtk.org
In Ubuntu (or Ubuntu-based distributions), these packages can be installed as follows:
```console
$ sudo apt-get install gtk+-3.0 webkit2gtk-4.0 build-essential
```
## Documentation
- https://juancarlospaco.github.io/webgui
## Buit-in Dark Mode
![Dark mode](https://raw.githubusercontent.com/juancarlospaco/webgui/master/docs/darkui.png)
## Buit-in Light Mode
![Light mode](https://raw.githubusercontent.com/juancarlospaco/webgui/master/docs/lightui.png)
## Apple Mac OS
![](https://raw.githubusercontent.com/juancarlospaco/webgui/master/docs/webgui-mac.png "Apple Mac OS Vanilla")
## Real Life Apps
[![Ballena Itcher GUI](https://raw.githubusercontent.com/juancarlospaco/ballena-itcher/master/0.png)](https://github.com/juancarlospaco/ballena-itcher)
[![SMNAR GUI](https://raw.githubusercontent.com/juancarlospaco/nim-smnar/master/0.png)](https://github.com/juancarlospaco/nim-smnar)
[![Nimble GUI](https://user-images.githubusercontent.com/1189414/78953126-2f055c00-7aae-11ea-9570-4a5fcd5813bc.png)](https://github.com/ThomasTJdev/nim_nimble_gui)
![example code](https://user-images.githubusercontent.com/1189414/78956916-36cafd80-7aba-11ea-97eb-75af94c99c80.png)
[![Choosenim GUI](https://raw.githubusercontent.com/ThomasTJdev/choosenim_gui/master/private/screenshot1.png)](https://github.com/ThomasTJdev/choosenim_gui)
![](https://raw.githubusercontent.com/juancarlospaco/borapp/master/borapp.png)
![](https://raw.githubusercontent.com/ThomasTJdev/nmqttgui/master/private/screenshot1.png)
## Uninstall
```bash
$ nimble uninstall webgui
```
## Hello World
```nim
import webgui
let app = newWebView()
app.run()
app.exit()
```
# FAQ
- Does it works on Hackintosh or Cracked Windows?.
It may or may not work on *Cracked* operating systems,
because the core OS libraries are modified on those.
Please try your code on legit operating system before reporting bugs.
- On Windows it says it can not find the URL?.
Windows is more annoying about URL format, check your URL is correct,
try with raw string literal.
Please check that your URL is correct before reporting bugs.
- Whats the oldest compatibility?.
If you need to target Windows, then your software needs to support Internet Explorer 11.
# See also
- For JS parts https://github.com/juancarlospaco/nodejs
# 💰➡️🍕
<details>
<summary title="Send Bitcoin"><kbd> Bitcoin BTC </kbd></summary>
**BEP20 Binance Smart Chain Network BSC**
```
0xb78c4cf63274bb22f83481986157d234105ac17e
```
**BTC Bitcoin Network**
```
1Pnf45MgGgY32X4KDNJbutnpx96E4FxqVi
```
**Lightning Network**
```
juancarlospaco@bitrefill.me
```
</details>
<details>
<summary title="Send Ethereum and DAI"><kbd> Ethereum ETH </kbd> <kbd> Dai DAI </kbd> <kbd> Uniswap UNI </kbd> <kbd> Axie Infinity AXS </kbd> <kbd> Smooth Love Potion SLP </kbd> <kbd> Uniswap UNI </kbd> <kbd> USDC </kbd> </summary>
**BEP20 Binance Smart Chain Network BSC**
```
0xb78c4cf63274bb22f83481986157d234105ac17e
```
**ERC20 Ethereum Network**
```
0xb78c4cf63274bb22f83481986157d234105ac17e
```
</details>
<details>
<summary title="Send Tether"><kbd> Tether USDT </kbd></summary>
**BEP20 Binance Smart Chain Network BSC**
```
0xb78c4cf63274bb22f83481986157d234105ac17e
```
**ERC20 Ethereum Network**
```
0xb78c4cf63274bb22f83481986157d234105ac17e
```
**TRC20 Tron Network**
```
TWGft53WgWvH2mnqR8ZUXq1GD8M4gZ4Yfu
```
</details>
<details>
<summary title="Send Solana"><kbd> Solana SOL </kbd></summary>
**BEP20 Binance Smart Chain Network BSC**
```
0xb78c4cf63274bb22f83481986157d234105ac17e
```
**SOL Solana Network**
```
FKaPSd8kTUpH7Q76d77toy1jjPGpZSxR4xbhQHyCMSGq
```
</details>
<details>
<summary title="Send Cardano"><kbd> Cardano ADA </kbd></summary>
**BEP20 Binance Smart Chain Network BSC**
```
0xb78c4cf63274bb22f83481986157d234105ac17e
```
**ADA Cardano Network**
```
DdzFFzCqrht9Y1r4Yx7ouqG9yJNWeXFt69xavLdaeXdu4cQi2yXgNWagzh52o9k9YRh3ussHnBnDrg7v7W2hSXWXfBhbo2ooUKRFMieM
```
</details>
<details>
<summary title="Send Sandbox"><kbd> Sandbox SAND </kbd> <kbd> Decentraland MANA </kbd></summary>
**ERC20 Ethereum Network**
```
0xb78c4cf63274bb22f83481986157d234105ac17e
```
</details>
<details>
<summary title="Send Algorand"><kbd> Algorand ALGO </kbd></summary>
**ALGO Algorand Network**
```
WM54DHVZQIQDVTHMPOH6FEZ4U2AU3OBPGAFTHSCYWMFE7ETKCUUOYAW24Q
```
</details>
<details>
<summary title="Send Polkadot"><kbd> Polkadot DOT </kbd></summary>
**DOT Network**
```
13GdxHQbQA1K6i7Ctf781nQkhQhoVhGgUnrjn9EvcJnYWCEd
```
**BEP20 Binance Smart Chain Network BSC**
```
0xb78c4cf63274bb22f83481986157d234105ac17e
```
</details>
<details>
<summary title="Send via Binance Pay"> Binance </summary>
[https://pay.binance.com/en/checkout/e92e536210fd4f62b426ea7ee65b49c3](https://pay.binance.com/en/checkout/e92e536210fd4f62b426ea7ee65b49c3 "Send via Binance Pay")
</details>
# Stars
![](https://starchart.cc/juancarlospaco/webgui.svg "Star WebGUI on GitHub!")
:star: [@juancarlospaco](https://github.com/juancarlospaco '2022-08-25')
:star: [@egeoz](https://github.com/egeoz '2022-09-05')
:star: [@kklam47](https://github.com/kklam47 '2022-09-15')
:star: [@sinocxg](https://github.com/sinocxg '2022-09-20')
:star: [@codehangen](https://github.com/codehangen '2022-09-27')
:star: [@Zireael07](https://github.com/Zireael07 '2022-11-20')
:star: [@jgdevop](https://github.com/jgdevop '2022-11-25')
:star: [@linwaytin](https://github.com/linwaytin '2022-11-25')
:star: [@0x454d505459](https://github.com/0x454d505459 '2022-11-26')
:star: [@Sindou-dedv](https://github.com/Sindou-dedv '2022-11-26')
:star: [@depperm](https://github.com/depperm '2022-12-01')
:star: [@KlausEverWalkingDev](https://github.com/KlausEverWalkingDev '2022-12-05')
:star: [@fadzikri](https://github.com/fadzikri '2022-12-09')
:star: [@Nyarmith](https://github.com/Nyarmith '2022-12-09')
:star: [@themorya](https://github.com/themorya '2022-12-09')
:star: [@drighty](https://github.com/drighty '2022-12-13')
:star: [@yaroslav-gwit](https://github.com/yaroslav-gwit '2022-12-16')
:star: [@ArikRahman](https://github.com/ArikRahman '2022-12-17')
:star: [@tondrejk](https://github.com/tondrejk '2022-12-17')
:star: [@nodrygo](https://github.com/nodrygo '2022-12-19')
:star: [@transmutrix](https://github.com/transmutrix '2022-12-20')
:star: [@laoshaw](https://github.com/laoshaw '2022-12-22')
:star: [@DeanHnter](https://github.com/DeanHnter '2022-12-24')
:star: [@konsumer](https://github.com/konsumer '2022-12-29')
:star: [@Kaput-EMEX](https://github.com/Kaput-EMEX '2023-01-01')
:star: [@whitebm2024](https://github.com/whitebm2024 '2023-01-15')
:star: [@georgelemon](https://github.com/georgelemon '2023-01-24')
:star: [@exitcas](https://github.com/exitcas '2023-01-26')
:star: [@gpicron](https://github.com/gpicron '2023-02-06')
:star: [@meet-ai](https://github.com/meet-ai '2023-02-07')
:star: [@ViktorSvertoka](https://github.com/ViktorSvertoka '2023-02-17')
:star: [@CardealRusso](https://github.com/CardealRusso '2023-02-17')
:star: [@insolitum](https://github.com/insolitum '2023-02-17')
:star: [@eantho](https://github.com/eantho '2023-02-26')
:star: [@waryu-YND](https://github.com/waryu-YND '2023-02-26')
:star: [@inter1965](https://github.com/inter1965 '2023-03-09')
:star: [@shirk33y](https://github.com/shirk33y '2023-03-21')
:star: [@kylarf](https://github.com/kylarf '2023-04-01')
:star: [@aphkyle](https://github.com/aphkyle '2023-04-10')
:star: [@Lucifer25x](https://github.com/Lucifer25x '2023-04-21')
:star: [@overtube](https://github.com/overtube '2023-06-25')
:star: [@Angluca](https://github.com/Angluca '2023-06-26')
:star: [@PunchCakee](https://github.com/PunchCakee '2023-07-16')
:star: [@cypherwytch](https://github.com/cypherwytch '2023-07-16')
:star: [@degaur](https://github.com/degaur '2023-07-19')
:star: [@catsuns](https://github.com/catsuns '2023-07-22')
:star: [@KolyaRS](https://github.com/KolyaRS '2023-09-01')
:star: [@woidzero](https://github.com/woidzero '2023-09-02')
:star: [@michaelnew](https://github.com/michaelnew '2023-09-13')
:star: [@primatekid](https://github.com/primatekid '2023-09-19')
:star: [@majj](https://github.com/majj '2023-10-01')
:star: [@gnusec](https://github.com/gnusec '2023-10-28')
:star: [@lzw-723](https://github.com/lzw-723 '2023-12-26')
:star: [@nichdemos](https://github.com/nichdemos '2023-12-31')
:star: [@ToniCron](https://github.com/ToniCron '2023-12-31')
:star: [@enaaab460](https://github.com/enaaab460 '2024-01-21')
:star: [@all-an](https://github.com/all-an '2024-02-23')
:star: [@rubigc](https://github.com/rubigc '2024-02-26')
:star: [@PattMayne](https://github.com/PattMayne '2024-03-21')
:star: [@demosthenez](https://github.com/demosthenez '2024-03-22')
:star: [@wjl12](https://github.com/wjl12 '2024-04-05')
:star: [@FI-Mihej](https://github.com/FI-Mihej '2024-04-14')
:star: [@gteroy](https://github.com/gteroy '2024-04-17')
:star: [@Sznymo](https://github.com/Sznymo '2024-04-23')
:star: [@neroist](https://github.com/neroist '2024-04-23')
:star: [@inv2004](https://github.com/inv2004 '2024-04-24')
:star: [@lucasnuic](https://github.com/lucasnuic '2024-05-03')
:star: [@ziggertonziggy](https://github.com/ziggertonziggy '2024-05-04')
:star: [@tabris17](https://github.com/tabris17 '2024-05-06')
:star: [@tuanductran](https://github.com/tuanductran '2024-05-29')
:star: [@Tetraslam](https://github.com/Tetraslam '2024-06-05')
:star: [@xhh](https://github.com/xhh '2024-07-22')
:star: [@g5becks](https://github.com/g5becks '2024-09-01')
:star: [@zyztek](https://github.com/zyztek '2024-09-15')
:star: [@ipsfsw](https://github.com/ipsfsw '2024-09-18')
:star: [@titanomachy](https://github.com/titanomachy '2024-09-30')
:star: [@glassesneo](https://github.com/glassesneo '2024-10-03')
:star: [@CarmeloMaitaO](https://github.com/CarmeloMaitaO '2024-11-14')