diff --git a/application.demo b/application.demo new file mode 100644 index 0000000..0a5d244 --- /dev/null +++ b/application.demo @@ -0,0 +1,180 @@ +{"version": 2, "width": 80, "height": 24, "timestamp": 1758103540, "env": {"SHELL": "/bin/bash", "TERM": "xterm-256color"}} +[0.448856, "o", "\u001b[?2004h\u001b]0;jemy@Ahmed-Gamal: ~\u0007\u001b[01;32mjemy@Ahmed-Gamal\u001b[00m:\u001b[01;34m~\u001b[00m$ "] +[1.942344, "o", "c"] +[2.097692, "o", "d"] +[3.069807, "o", " "] +[3.335368, "o", "w"] +[3.500968, "o", "e"] +[3.721606, "o", "ather-app/"] +[4.605521, "o", "\r\n\u001b[?2004l\r"] +[4.605981, "o", "\u001b[?2004h\u001b]0;jemy@Ahmed-Gamal: ~/weather-app\u0007\u001b[01;32mjemy@Ahmed-Gamal\u001b[00m:\u001b[01;34m~/weather-app\u001b[00m$ "] +[5.204404, "o", "l"] +[5.376409, "o", "s"] +[5.887837, "o", " "] +[6.650595, "o", "-"] +[6.794424, "o", "a"] +[7.242553, "o", "\r\n\u001b[?2004l\r"] +[7.247615, "o", "\u001b[0m\u001b[01;34m.\u001b[0m \u001b[01;34m..\u001b[0m app.py Dockerfile requirements.txt\r\n"] +[7.249415, "o", "\u001b[?2004h\u001b]0;jemy@Ahmed-Gamal: ~/weather-app\u0007\u001b[01;32mjemy@Ahmed-Gamal\u001b[00m:\u001b[01;34m~/weather-app\u001b[00m$ "] +[9.959339, "o", "g"] +[10.183644, "o", "y"] +[10.475922, "o", " "] +[10.688863, "o", "r"] +[10.901449, "o", " "] +[12.06135, "o", "p"] +[12.58191, "o", " "] +[12.794738, "o", "c"] +[13.005356, "o", " "] +[13.743015, "o", "-"] +[13.868148, "o", "-"] +[14.019606, "o", "s"] +[14.28088, "o", "e"] +[14.69363, "o", "t"] +[15.195441, "o", " "] +[15.732329, "o", "."] +[16.14627, "o", "n"] +[16.291728, "o", "a"] +[16.415219, "o", "m"] +[16.611245, "o", "e"] +[17.296813, "o", "="] +[17.813805, "o", "\""] +[17.950287, "o", "\""] +[18.288871, "o", "\b"] +[18.846551, "o", "w\"\b"] +[19.024313, "o", "e\"\b"] +[19.204428, "o", "a\"\b"] +[19.590124, "o", "t\"\b"] +[19.891767, "o", "h\"\b"] +[20.012755, "o", "e\"\b"] +[20.200964, "o", "r\"\b"] +[21.000461, "o", "-\"\b"] +[21.212936, "o", "a\"\b"] +[21.514149, "o", "p\"\b"] +[21.649459, "o", "p\"\b"] +[22.386388, "o", "\r\n\u001b[?2004l\r"] +[24.198038, "o", "time=2025-09-17T13:06:05.085+03:00 level=INFO msg=\"Connecting to GraphQL\" component=graphql endpoint=wss://graphql.ghaymah.systems/v1/graphql\r\n"] +[25.431459, "o", "time=2025-09-17T13:06:06.318+03:00 level=INFO msg=\"GraphQL connection established\" component=graphql\r\n"] +[25.433381, "o", "\u001b[36mCreating project...\r\n\u001b[0m"] +[26.192595, "o", "\u001b[32;1m✓ project created successfully. ID: 5b508706-a257-4dc9-ab9d-91af914e8ef2\r\n\u001b[0m\u001b[36mWaiting for creation to complete...\r\n\u001b[0m"] +[27.693594, "o", "\u001b[32;1m✓ Creation completed successfully\r\n\u001b[0m"] +[27.698042, "o", "\u001b[?2004h\u001b]0;jemy@Ahmed-Gamal: ~/weather-app\u0007\u001b[01;32mjemy@Ahmed-Gamal\u001b[00m:\u001b[01;34m~/weather-app\u001b[00m$ "] +[30.293559, "o", "g"] +[30.792912, "o", "y"] +[31.450071, "o", " "] +[32.16648, "o", "r"] +[37.205028, "o", " "] +[37.452683, "o", "a"] +[37.669281, "o", "p"] +[37.796858, "o", "p"] +[38.326284, "o", " "] +[39.16243, "o", "i"] +[39.362248, "o", "n"] +[39.533128, "o", "i"] +[39.885741, "o", "t"] +[40.959953, "o", " "] +[41.726428, "o", "-"] +[42.049775, "o", "p"] +[42.386307, "o", " "] +[46.847238, "o", "\u001b[7m5b508706-a257-4dc9-ab9d-91af914\u001b[27m\u001b[7me\u001b[27m\u001b[7m8ef2\u001b[27m"] +[47.720417, "o", "\u001b[A\r\u001b]0;jemy@Ahmed-Gamal: ~/weather-app\u0007\u001b[01;32mjemy@Ahmed-Gamal\u001b[00m:\u001b[01;34m~/weather-app\u001b[00m$ \u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C\u001b[C5b508706-a257-4dc9-ab9d-91af914e8ef2\r\n\u001b[?2004l\r"] +[48.341306, "o", "\u001b[36mInitializing Ghaymah app in: \u001b[35;1m/home/jemy/weather-app\u001b[0;22m\r\n\u001b[0m"] +[49.188509, "o", "time=2025-09-17T13:06:30.075+03:00 level=INFO msg=\"Connecting to GraphQL\" component=graphql endpoint=wss://graphql.ghaymah.systems/v1/graphql\r\n"] +[50.239613, "o", "time=2025-09-17T13:06:31.126+03:00 level=INFO msg=\"GraphQL connection established\" component=graphql\r\n"] +[50.266843, "o", "\u001b[32;1m✓ App initialized successfully!\r\n\u001b[0m\u001b[36mConfig saved at: \u001b[35;1m/home/jemy/weather-app/.ghaymah.json\u001b[0;22m\r\n\u001b[0m\u001b[36mRun \u001b[35;1m'gy resource app launch'\u001b[0;22m to build and deploy.\r\n"] +[50.267024, "o", "\u001b[0m"] +[50.270292, "o", "\u001b[?2004h\u001b]0;jemy@Ahmed-Gamal: ~/weather-app\u0007\u001b[01;32mjemy@Ahmed-Gamal\u001b[00m:\u001b[01;34m~/weather-app\u001b[00m$ "] +[51.235508, "o", "l"] +[51.447786, "o", "s"] +[52.136569, "o", " "] +[52.581375, "o", "-"] +[52.73776, "o", "a"] +[53.195271, "o", "\r\n\u001b[?2004l\r"] +[53.200045, "o", "\u001b[0m\u001b[01;34m.\u001b[0m \u001b[01;34m..\u001b[0m app.py Dockerfile .ghaymah.json requirements.txt\r\n"] +[53.200977, "o", "\u001b[?2004h\u001b]0;jemy@Ahmed-Gamal: ~/weather-app\u0007\u001b[01;32mjemy@Ahmed-Gamal\u001b[00m:\u001b[01;34m~/weather-app\u001b[00m$ "] +[55.256794, "o", "v"] +[55.445024, "o", "i"] +[55.856467, "o", "m"] +[56.064442, "o", " "] +[56.813931, "o", "."] +[57.347449, "o", "g"] +[57.509265, "o", "h"] +[57.655743, "o", "a"] +[57.958825, "o", "ymah.json "] +[58.800377, "o", "\r\n\u001b[?2004l\r"] +[58.91728, "o", "\u001b[?1049h\u001b[22;0;0t\u001b[>4;2m\u001b[?1h\u001b=\u001b[?2004h\u001b[?1004h\u001b[1;24r\u001b[?12h\u001b[?12l\u001b[22;2t\u001b[22;1t"] +[58.918178, "o", "\u001b[27m\u001b[23m\u001b[29m\u001b[m\u001b[H\u001b[2J\u001b[?25l\u001b[24;1H\".ghaymah.json\""] +[58.918326, "o", " [noeol] 17L, 326B"] +[58.930415, "o", "\u001b[2;1H▽\u001b[6n\u001b[2;1H \u001b[3;1H\u001bPzz\u001b\\\u001b[0%m\u001b[6n\u001b[3;1H \u001b[1;1H\u001b[>c\u001b]10;?\u0007\u001b]11;?\u0007"] +[58.93412, "o", "\u001b[1;1H\u001b[35m{\u001b[m\r\n \"\u001b[38;5;130mid\u001b[m\": \"\u001b[31m73d37fd4-692a-40b7-92bb-0137ad9cc790\u001b[m\",\u001b[2;48H\u001b[K\u001b[3;1H \"\u001b[38;5;130mname\u001b[m\": \"\u001b[31mweather-app\u001b[m\",\u001b[3;25H\u001b[K\u001b[4;3H\"\u001b[38;5;130mprojectId\u001b[m\": \"\u001b[31m5b508706-a257-4dc9-ab9d-91af914e8ef2\u001b[m\",\r\n \"\u001b[38;5;130mports\u001b[m\": \u001b[35m[\r\n\u001b[m \u001b[35m{\u001b[m\u001b[7;7H\"\u001b[38;5;130mexpose\u001b[m\": \u001b[31mtrue\u001b[m,\u001b[8;7H\"\u001b[38;5;130mnumber\u001b[m\": \u001b[31m80\u001b[m\r\n \u001b[35m}\r\n\u001b[m \u001b[35m]\u001b[m,\r\n \"\u001b[38;5;130mpublicAccess\u001b[m\": \u001b[35m{\u001b[m\r\n \"\u001b[38;5;130menabled\u001b[m\": \u001b[31mtrue\u001b[m,\r\n \"\u001b[38;5;130mdomain\u001b[m\": \"\u001b[31mauto\u001b[m\"\r\n \u001b[35m}\u001b[m,\r\n \"\u001b[38;5;130mresourceTier\u001b[m\": \"\u001b[31mt1\u001b[m\",\r\n \"\u001b[38;5;130mdockerFileName\u001b[m\": \"\u001b[31mDockerfile\u001b[m\"\r\n\u001b[35m}\u001b[m\r\n\u001b[94m~ \u001b[19;1H~ \u001b[20;1H~ \u001b[21;1H~ \u001b[22;1H~ \u001b[23;1H~ \u001b[m\u001b[24;63H8,18\u001b[10CAll\u001b[8;18H\u001b[?25h\u001b[?4m"] +[58.936286, "o", "\u001bP+q436f\u001b\\\u001bP+q6b75\u001b\\\u001bP+q6b64\u001b\\\u001bP+q6b72\u001b\\\u001bP+q6b6c\u001b\\\u001bP+q2332\u001b\\\u001bP+q2334\u001b\\\u001bP+q2569\u001b\\\u001bP+q2a37\u001b\\\u001bP+q6b31\u001b\\\u001bP$q q\u001b\\\u001b[?12$p"] +[58.936613, "o", "\u001b[?25l\u001b[24;53H0\u001b[8;18H\u001b[24;54H3\u001b[8;18H\u001b[24;55H0\u001b[8;18H\u001b[24;56H/\u001b[8;18H\u001b[24;57H0\u001b[8;18H\u001b[24;58Ha\u001b[8;18H\u001b[24;59H0\u001b[8;18H\u001b[24;60Ha\u001b[8;18H\u001b[24;61H/\u001b[8;18H\u001b[24;62H2\u001b[8;18H"] +[58.94312, "o", "\u001b[24;53H \u001b[8;18H\u001b[27m\u001b[23m\u001b[29m\u001b[m\u001b[H\u001b[2J\u001b[1;1H\u001b[38;5;224m{\u001b[m\r\n \"\u001b[93mid\u001b[m\": \"\u001b[95m73d37fd4-692a-40b7-92bb-0137ad9cc790\u001b[m\",\r\n \"\u001b[93mname\u001b[m\": \"\u001b[95mweather-app\u001b[m\",\r\n \"\u001b[93mprojectId\u001b[m\": \"\u001b[95m5b508706-a257-4dc9-ab9d-91af914e8ef2\u001b[m\",\r\n \"\u001b[93mports\u001b[m\": \u001b[38;5;224m[\r\n\u001b[m \u001b[38;5;224m{\u001b[m\u001b[7;7H\"\u001b[93mexpose\u001b[m\": \u001b[95mtrue\u001b[m,\u001b[8;7H\"\u001b[93mnumber\u001b[m\": \u001b[95m80\u001b[m\r\n \u001b[38;5;224m}\r\n\u001b[m \u001b[38;5;224m]\u001b[m,\r\n \"\u001b[93mpublicAccess\u001b[m\": \u001b[38;5;224m{\u001b[m\r\n \"\u001b[93menabled\u001b[m\": \u001b[95mtrue\u001b[m,\r\n \"\u001b[93mdomain\u001b[m\": \"\u001b[95mauto\u001b[m\"\r\n \u001b[38;5;224m}\u001b[m,\r\n \"\u001b[93mresourceTier\u001b[m\": \"\u001b[95mt1\u001b[m\",\r\n \"\u001b[93mdockerFileName\u001b[m\": \"\u001b[95mDockerfile\u001b[m\"\r\n\u001b[38;5;224m}\u001b[m\r\n\u001b[94m~ \u001b[19;1H~ \u001b[20;1H~ \u001b[21;1H~ \u001b[22;1H~ \u001b[23;1H~ \u001b[m\u001b[24;63H8,18\u001b[10CAll\r\".ghaymah.json\" [noeol] 17L, 326B\u001b[8;18H\u001b[?25h"] +[60.845625, "o", "\u001b[?25l\u001b[24;53Hi\u001b[8;18H"] +[60.845833, "o", "\u001b[24;53H \u001b[8;18H\u001b[24;1H\u001b[1m-- INSERT --\u001b[m\u001b[24;13H\u001b[K\u001b[24;63H8,18\u001b[10CAll\u001b[8;18H\u001b[?25h"] +[61.506699, "o", "\u001b[?25l\u001b[6;5H\u001b[38;5;224m\u001b[46m{\u001b[9;5H}\u001b[m\u001b[24;63H9,6 \u001b[9;6H\u001b[?25h"] +[62.154331, "o", "\u001b[?25l\u001b[6;5H\u001b[38;5;224m{\u001b[9;5H}\u001b[m\u001b[24;63H8,18\u001b[8;18H\u001b[?25h"] +[62.651179, "o", "\u001b[?25l\u001b[24;66H9\u001b[8;19H\u001b[?25h"] +[63.911391, "o", "\u001b[?25l\u001b[95m8\u001b[m\u001b[24;65H20\u001b[8;20H\u001b[?25h"] +[66.327344, "o", "\u001b[?25l\u001b[95m0\u001b[m\u001b[24;66H1\u001b[8;21H\u001b[?25h"] +[68.115028, "o", "\u001b[24;1H\u001b[K\u001b[8;20H\u001b[?25l\u001b[24;53H^[\u001b[8;20H"] +[68.215362, "o", "\u001b[24;53H \u001b[8;21H"] +[68.215969, "o", "\u001b[24;63H8,20\u001b[10CAll\u001b[8;20H\u001b[?25h"] +[68.445294, "o", "\u001b[?25l\u001b[24;53H:\u001b[8;20H\u001b[24;53H\u001b[K\u001b[24;1H:\u001b[?25h"] +[69.005831, "o", "w"] +[69.452055, "o", "q"] +[70.145428, "o", "\r"] +[70.145538, "o", "\u001b[?25l\u001b[?2004l\u001b[>4;m\".ghaymah.json\""] +[70.149842, "o", " 17L, 329B written"] +[70.15082, "o", "\r\u001b[23;2t\u001b[23;1t\r\r\n\u001b[?1004l\u001b[?2004l\u001b[?1l\u001b>\u001b[?1049l\u001b[23;0;0t\u001b[?25h\u001b[>4;m"] +[70.152203, "o", "\u001b[?2004h\u001b]0;jemy@Ahmed-Gamal: ~/weather-app\u0007\u001b[01;32mjemy@Ahmed-Gamal\u001b[00m:\u001b[01;34m~/weather-app\u001b[00m$ "] +[72.223776, "o", "c"] +[72.370572, "o", "a"] +[72.800203, "o", "t"] +[72.973348, "o", " "] +[74.288251, "o", "."] +[74.755535, "o", "g"] +[74.990332, "o", "h"] +[75.330394, "o", "a"] +[75.661096, "o", "ymah.json "] +[76.335969, "o", "\r\n\u001b[?2004l\r"] +[76.339399, "o", "{\r\n \"id\": \"73d37fd4-692a-40b7-92bb-0137ad9cc790\",\r\n \"name\": \"weather-app\",\r\n \"projectId\": \"5b508706-a257-4dc9-ab9d-91af914e8ef2\",\r\n \"ports\": [\r\n {\r\n \"expose\": true,\r\n \"number\": 8080\r\n }\r\n ],\r\n \"publicAccess\": {\r\n \"enabled\": true,\r\n \"domain\": \"auto\"\r\n },\r\n \"resourceTier\": \"t1\",\r\n \"dockerFileName\": \"Dockerfile\"\r\n}\r\n"] +[76.340166, "o", "\u001b[?2004h\u001b]0;jemy@Ahmed-Gamal: ~/weather-app\u0007\u001b[01;32mjemy@Ahmed-Gamal\u001b[00m:\u001b[01;34m~/weather-app\u001b[00m$ "] +[84.102749, "o", "g"] +[84.230756, "o", "y"] +[84.53191, "o", " "] +[84.684268, "o", "r"] +[84.879961, "o", "e"] +[85.213488, "o", "s"] +[85.571058, "o", "o"] +[85.810956, "o", "u"] +[86.052719, "o", "r"] +[86.355172, "o", "c"] +[86.563186, "o", "e"] +[87.102993, "o", " "] +[87.652437, "o", "a"] +[87.874949, "o", "p"] +[88.025019, "o", "p"] +[88.507908, "o", " "] +[88.900018, "o", "l"] +[89.072591, "o", "a"] +[89.349566, "o", "u"] +[89.585889, "o", "n"] +[89.822095, "o", "c"] +[90.0091, "o", "h"] +[90.745415, "o", "\r\n\u001b[?2004l\r"] +[91.581488, "o", "\u001b[36mLaunching app from: \u001b[35;1m/home/jemy/weather-app\u001b[0;22m\r\n\u001b[0m"] +[92.709493, "o", "time=2025-09-17T13:07:13.596+03:00 level=INFO msg=\"Connecting to GraphQL\" component=graphql endpoint=wss://graphql.ghaymah.systems/v1/graphql\r\n"] +[93.525435, "o", "time=2025-09-17T13:07:14.412+03:00 level=INFO msg=\"GraphQL connection established\" component=graphql\r\n"] +[93.911351, "o", "\u001b[36mGenerating app prefix...\r\n\u001b[0m\u001b[36mCreating artifact...\r\n\u001b[0m"] +[93.912788, "o", "\u001b[36mUploading artifact...\r\n\u001b[0m"] +[94.970389, "o", "\u001b[32;1m✓ Artifact uploaded successfully\r\n\u001b[0m\u001b[36mDeploying app \u001b[35;1mweather-app\u001b[0;22m...\r\n\u001b[0m"] +[95.779417, "o", "\u001b[32;1m✓ App deployment initiated\r\n\u001b[0m\u001b[36mWaiting for deployment to complete...\r\n\u001b[0m"] +[222.780587, "o", "\u001b[32;1m✓ App deployed successfully!\r\n\u001b[0m\u001b[35;1m\r\nYour app is available at: https://weather-app-12093abac772.hosted.ghaymah.systems\r\n\u001b[0m"] +[222.781062, "o", "time=2025-09-17T13:09:23.668+03:00 level=INFO msg=\"Subscription handler stopped\" component=resource-manager\r\n"] +[222.784734, "o", "\u001b[?2004h\u001b]0;jemy@Ahmed-Gamal: ~/weather-app\u0007\u001b[01;32mjemy@Ahmed-Gamal\u001b[00m:\u001b[01;34m~/weather-app\u001b[00m$ "] +[226.905008, "o", "e"] +[227.222206, "o", "x"] +[227.409361, "o", "i"] +[227.792557, "o", "t"] +[228.040359, "o", "\r\n\u001b[?2004l\r"] +[228.04048, "o", "exit\r\n"]