tamga-vdesktop 0.0.0-stage → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +84 -2
- package/dist/cli.js +3772 -0
- package/dist/client/assets/index-Dc9pcCtt.js +410 -0
- package/dist/client/assets/index-PKZga7Cp.css +32 -0
- package/dist/client/index.html +13 -0
- package/dist/helpers/pty_bridge.py +136 -0
- package/dist/helpers/x11_bridge.py +303 -0
- package/dist/server.js +3465 -0
- package/package.json +83 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Uunan
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,85 @@
|
|
|
1
|
-
#
|
|
1
|
+
# TamgaVDesktop
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
**TamgaVDesktop**, herhangi bir Linux sunucusuna tek komutla kurulabilen, belirlediğiniz portta `systemd` servisi olarak 7/24 çalışan, arayüzü %100 yerli web koduyla anlık çalışan ve arkasında gerçek Linux çekirdeği üzerinde **Firefox, VS Code, Antigravity** ve diğer Linux uygulamalarını çalıştırabilen hibrit bir sanal masaüstü platformudur.
|
|
4
|
+
|
|
5
|
+
## Özellikler
|
|
6
|
+
|
|
7
|
+
- **%100 Kodla Anlık Masaüstü Kabuğu:** Klasik VNC/RDP gibi bulanık tam ekran görüntü aktarımı yerine; masaüstü, ikonlar, dock, pencere çerçeveleri, Dosya Gezgini, Açık/Koyu tema geçişleri ve özel duvar kağıtları tamamen tarayıcıda 120fps yerli kodla çalışır.
|
|
8
|
+
- **Gerçek Linux GUI Uygulamaları (Pencere Bazlı):** Sunucuda kurulu olan gerçek **Firefox**, **VS Code**, **Antigravity**, **GIMP**, **VLC** veya herhangi bir Linux GUI uygulaması çerçevesiz olarak kendi pencere çerçevemiz içinde açılır (canlı ses, pano senkronizasyonu, dinamik boyutlandırma ve Türkçe klavye desteğiyle).
|
|
9
|
+
- **Gerçek Linux Terminali:** Sıfır C++ derleme gerektiren yerleşik PTY köprüsü ile `bash`/`zsh` kabuğu doğrudan sunucunuzda çalışır.
|
|
10
|
+
- **Tek VDS'te Bağımsız Sanal Masaüstleri:** `?desktop=<ad>` üzerinden her biri izole dosya sistemi, tema, duvar kağıdı ve uygulama profiline sahip sınırsız sanal masaüstü.
|
|
11
|
+
- **Animasyonlu Tema & Özel Arka Plan:** Dairesel yayılan Açık ↔ Koyu tema animasyonu, cihazdan veya sanal dosyalardan animasyonlu özel duvar kağıdı seçimi, tam ekran öneri bildirimi.
|
|
12
|
+
- **Tek Port + Oturum Koruması:** İmzalı `HttpOnly` oturum çerezi, parola koruması ve `systemd` servis yönetimi.
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Hızlı Kurulum (Ubuntu / Debian Sunucu)
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
# 1. Global olarak kurun
|
|
20
|
+
npm install -g tamga-vdesktop
|
|
21
|
+
|
|
22
|
+
# 2. Yapılandırma dosyasını oluşturun (port, parola, veri dizini)
|
|
23
|
+
tamga-vdesktop init
|
|
24
|
+
|
|
25
|
+
# 3. Linux GUI çalışma ortamını ve Firefox'u kurun (Ubuntu/Debian)
|
|
26
|
+
tamga-vdesktop setup-linux --with-firefox
|
|
27
|
+
|
|
28
|
+
# 4. 7/24 çalışan systemd servisini kurun ve başlatın
|
|
29
|
+
tamga-vdesktop service install
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Ardından tarayıcınızdan `http://<SUNUCU-IP>:4800` adresine bağlanın.
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## CLI Komutları
|
|
37
|
+
|
|
38
|
+
| Komut | Açıklama |
|
|
39
|
+
| --- | --- |
|
|
40
|
+
| `tamga-vdesktop start [--port 4800] [--config path]` | Sunucuyu başlatır |
|
|
41
|
+
| `tamga-vdesktop init` | Etkileşimli yapılandırma sihirbazı |
|
|
42
|
+
| `tamga-vdesktop setup-linux [--with-firefox] [--with-vscode]` | Gerekli Linux X11/ses bağımlılıklarını kurar |
|
|
43
|
+
| `tamga-vdesktop service install \| start \| stop \| restart \| status \| logs` | `systemd` servisini yönetir |
|
|
44
|
+
| `tamga-vdesktop passwd <yeni-parola>` | Yönetici parolasını günceller |
|
|
45
|
+
| `tamga-vdesktop doctor` | Sunucu, port ve GUI bağımlılıklarını teşhis eder |
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## Yapılandırma Dosyası (`config.json`)
|
|
50
|
+
|
|
51
|
+
Varsayılan konum: `/etc/tamga-vdesktop/config.json` (root) veya `~/.config/tamga-vdesktop/config.json`.
|
|
52
|
+
|
|
53
|
+
```json
|
|
54
|
+
{
|
|
55
|
+
"name": "TamgaVDesktop",
|
|
56
|
+
"host": "0.0.0.0",
|
|
57
|
+
"port": 4800,
|
|
58
|
+
"dataDir": "/var/lib/tamga-vdesktop",
|
|
59
|
+
"trustProxy": true,
|
|
60
|
+
"auth": {
|
|
61
|
+
"enabled": true,
|
|
62
|
+
"username": "admin",
|
|
63
|
+
"passwordHash": "scrypt:...",
|
|
64
|
+
"sessionSecret": "..."
|
|
65
|
+
},
|
|
66
|
+
"desktop": {
|
|
67
|
+
"defaultTheme": "dark",
|
|
68
|
+
"defaultWallpaper": "mono-peaks",
|
|
69
|
+
"allowMultiDesktop": true,
|
|
70
|
+
"filesystemMode": "isolated",
|
|
71
|
+
"hostRootPath": "/root"
|
|
72
|
+
},
|
|
73
|
+
"linuxApps": {
|
|
74
|
+
"enabled": true,
|
|
75
|
+
"fps": 20,
|
|
76
|
+
"quality": 4,
|
|
77
|
+
"audio": true,
|
|
78
|
+
"allowInstall": true
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
## Lisans
|
|
84
|
+
|
|
85
|
+
MIT © Uunan
|