-
Notifications
You must be signed in to change notification settings - Fork 364
/
Copy pathindex.html
232 lines (207 loc) · 13.9 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://js.puter.com/v2/"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" integrity="sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/marked/15.0.6/marked.min.js" integrity="sha512-rvRITpPeEKe4hV9M8XntuXX6nuohzqdR5O3W6nhjTLwkrx0ZgBQuaK4fv5DdOWzs2IaXsGt5h0+nyp9pEuoTXg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.9/katex.min.js" integrity="sha512-LQNxIMR5rXv7o+b1l8+N1EZMfhG7iFZ9HhnbJkTp4zjNr5Wvst75AqUeFDxeRUa7l5vEDyUiAip//r+EFLLCyA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.9/contrib/auto-render.min.js" integrity="sha512-iWiuBS5nt6r60fCz26Nd0Zqe0nbk1ZTIQbl3Kv7kYsX+yKMUFHzjaH2+AnM6vp2Xs+gNmaBAVWJjSmuPw76Efg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.9/katex.min.css" integrity="sha512-fHwaWebuwA7NSF5Qg/af4UeDx9XqUpYpOGgubo3yWu+b2IQR4UeQwbb42Ti7gVAjNtVoI/I9TEoYeu9omwcC6g==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/dompurify/3.2.3/purify.min.js" integrity="sha512-Ll+TuDvrWDNNRnFFIM8dOiw7Go7dsHyxRp4RutiIFW/wm3DgDmCnRZow6AqbXnCbpWu93yM1O34q+4ggzGeXVA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script>
var require = {
paths: {
"vs": "./vendor/monaco-editor-0.44.0/min/vs"
}
};
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/golden-layout/1.5.9/goldenlayout.min.js" integrity="sha256-NhJAZDfGgv4PiB+GVlSrPdh3uc75XXYSM4su8hgTchI=" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/golden-layout/1.5.9/css/goldenlayout-base.css" integrity="sha512-rGtzJyDE8egZ/OScuBNLW1EIhRydcfrZo14oTvZwRLzEZu+s8foCtwi0XhXsKnhuoQAwJ7POFARWdU4fBL7FbQ==" crossorigin="anonymous" referrerpolicy="no-referrer">
<link id="judge0-golden-layout-dark-theme-stylesheet" rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/golden-layout/1.5.9/css/goldenlayout-dark-theme.css" integrity="sha512-XfcBrEH69BhsZ0XpvPyzOLgikhAvIG6Znbi6yKi1Jh1iYaOXSXvljWFerhcUl5LYLCuV61KhfCydQ1+MNxnilg==" crossorigin="anonymous" referrerpolicy="no-referrer" disabled>
<link id="judge0-golden-layout-light-theme-stylesheet" rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/golden-layout/1.5.9/css/goldenlayout-light-theme.css" integrity="sha512-/S3N+v8cRHW2GJvM3v9FGHAKOhNgws+V1dYZb1fBxRd9XIwpqZFZB0jug+2HHf64eURsJLqVzCVn92pQTFHHow==" crossorigin="anonymous" referrerpolicy="no-referrer">
<script src="./vendor/monaco-editor-0.44.0/min/vs/loader.js"></script>
<script src="./vendor/monaco-editor-0.44.0/min/vs/editor/editor.main.nls.js"></script>
<script src="./vendor/monaco-editor-0.44.0/min/vs/editor/editor.main.js"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.5.0/semantic.min.css" integrity="sha512-KXol4x3sVoO+8ZsWPFI/r5KBVB/ssCGB5tsv2nVOKwLg33wTFP3fmnXa47FdSVIshVTgsYk/1734xSk9aFIa4A==" crossorigin="anonymous" referrerpolicy="no-referrer">
<script src="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.5.0/semantic.min.js" integrity="sha512-Xo0Jh8MsOn72LGV8kU5LsclG7SUzJsWGhXbWcYs2MAmChkQzwiW/yTQwdJ8w6UA9C6EVG18GHb/TrYpYCjyAQw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script type="module" src="js/ai.js"></script>
<script type="module" src="js/configuration.js"></script>
<script type="module" src="js/electron.js"></script>
<script type="module" src="js/ide.js"></script>
<script type="module" src="js/local_storage.js"></script>
<script type="module" src="js/puter.js"></script>
<script type="module" src="js/query.js"></script>
<script type="module" src="js/style.js"></script>
<script type="module" src="js/theme.js"></script>
<link type="text/css" rel="stylesheet" href="css/ide.css">
<link type="text/css" rel="stylesheet" href="css/semantic.css">
<link type="text/css" rel="stylesheet" href="css/site.css">
<title>Judge0 IDE</title>
<meta name="title" content="Judge0 IDE">
<meta name="description" content="Free and open-source online code editor and compiler">
<meta name="author" content="Judge0 d.o.o.">
<meta name="keywords" content="online editor, online code editor, online ide, online compiler, online interpreter, run code online, learn programming online,
online debugger, programming in browser, online code runner, online code execution, debug online, debug C code online, debug C++ code online,
programming online, snippet, snippets, code snippet, code snippets, pastebin, execute code, programming in browser, run c online, run C++ online,
run java online, run python online, run ruby online, run c# online, run rust online, run pascal online, run basic online">
<meta property="og:url" content="https://ide.judge0.com">
<meta property="og:type" content="website">
<meta property="og:title" content="Judge0 IDE">
<meta property="og:image" content="https://raw.githubusercontent.com/judge0/ide/refs/heads/master/.github/wallpaper.png">
<meta property="og:image:alt" content="Judge0 IDE">
<meta property="og:description" content="Free and open-source online code editor and compiler">
<meta property="og:site_name" content="Judge0 IDE">
<meta property="og:locale" content="en_US">
<meta property="twitter:url" content="https://ide.judge0.com">
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:title" content="Judge0 IDE">
<meta property="twitter:image" content="https://raw.githubusercontent.com/judge0/ide/refs/heads/master/.github/wallpaper.png">
<meta property="twitter:description" content="Free and open-source online code editor and compiler">
<link rel="shortcut icon" href="/favicons/favicon.ico">
<link rel="icon" type="image/svg+xml" href="/favicons/favicon.svg">
<link rel="icon" type="image/png" sizes="96x96" href="/favicons/favicon-96x96.png">
<link rel="apple-touch-icon" sizes="180x180" href="/favicons/favicon-180x180.png">
<meta name="apple-mobile-web-app-title" content="Judge0 IDE">
<link rel="manifest" href="/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="theme-color" content="#ffffff">
</head>
<body>
<div id="judge0-site-navigation" class="ui top fixed borderless menu judge0-showNavigation">
<a id="judge0-header" href="https://judge0.com" target="_blank" class="header item judge0-showLogo">
<img id="judge0-logo" src="./images/icon_var2_rounded_512.png">
</a>
<div class="ui simple dropdown item judge0-showFileMenu">
<span class="text">File</span>
<i class="dropdown icon"></i>
<div class="menu judge0-file-menu">
<div id="judge0-open-file-btn" class="item">
<span class="description">+O</span>
<span class="text"><i class="file icon"></i>Open File...</span>
<input type="file" id="open-file-input" style="display: none;">
</div>
<div id="judge0-save-btn" class="item">
<span class="description">+S</span>
<span class="text"><i class="save icon"></i>Save</span>
</div>
</div>
</div>
<div class="ui simple dropdown item judge0-showHelpMenu">
<span class="text">Help</span>
<i class="dropdown icon"></i>
<div class="menu judge0-file-menu">
<a href="https://github.com/judge0/ide" class="link text item" target="_blank"><i class="external square alternate icon"></i>GitHub Repository</a>
<a href="/embed" class="link text item" target="_blank"><i class="external square alternate icon"></i>Embed Guide</a>
<a href="https://platform.sulu.sh/apis/judge0" class="link text item" target="_blank"><i class="external square alternate icon"></i>HTTP API Documentation</a>
<a href="PRIVACY.md" class="link text item" target="_blank"><i class="external square alternate icon"></i>Privacy Policy</a>
<a href="TERMS.md" class="link text item" target="_blank"><i class="external square alternate icon"></i>Terms of Service</a>
</div>
</div>
<div class="item judge0-showSelectLanguage">
<select id="select-language" class="ui search selection dropdown"></select>
</div>
<div class="item judge0-showCompilerOptions">
<div class="ui left icon transparent input">
<i class="flag icon"></i>
<input id="compiler-options" type="text" placeholder="Compiler options"></input>
</div>
</div>
<div class="item judge0-showCommandLineArguments">
<div class="ui left icon transparent input">
<i class="terminal icon"></i>
<input id="command-line-arguments" type="text" placeholder="Command line arguments"></input>
</div>
</div>
<div class="item judge0-showRunButton">
<button id="run-btn" class="ui primary labeled icon button" data-content="+↵">
<i class="play icon"></i>
Run Code
</button>
</div>
<div class="right menu">
<div id="judge0-theme-toggle-btn" class="icon link item judge0-showThemeButton" data-content="">
<i id="judge0-theme-toggle-btn-icon" class="sun icon"></i>
</div>
<div class="item judge0-showPuterSignInOutButton">
<button id="judge0-sign-in-btn" class="ui basic button">
<i class="sign-in icon"></i>
Sign in with Puter
</button>
<button id="judge0-sign-out-btn" class="ui basic button" data-content="Sign out">
<i class="sign-out icon"></i>
<span id="judge0-puter-username">Sign out</span>
</button>
</div>
</div>
</div>
<div id="judge0-site-content"></div>
<div id="judge0-site-modal" class="ui modal">
<div class="header">
<span id="title"></span>
</div>
<div class="scrolling content"></div>
<div class="actions">
<a id="report-problem-btn" class="ui labeled icon red button" href="https://github.com/judge0/ide/issues/new?title=New+bug+report&body=Describe+the+problem." target="_blank">
<i class="flag icon"></i>
Report Problem
</a>
<div class="ui labeled icon cancel secondary button">
<i class="close icon"></i>
Close (ESC)
</div>
</div>
</div>
<div id="judge0-chat-container" class="ui segment">
<div class="ui top attached borderless menu">
<div class="item">
<div class="ui toggle checked checkbox">
<input id="judge0-inline-suggestions" type="checkbox" checked="">
<label>Inline Suggestions</label>
</div>
</div>
<div class="right menu">
<div class="fitted item">
<select id="judge0-chat-model-select" class="ui search selection dropdown item">
<option>gpt-4o-mini</option>
<option>gpt-4o</option>
<option>o3-mini</option>
<option>o1-mini</option>
<option>claude-3-5-sonnet</option>
<option>deepseek-chat</option>
<option>deepseek-reasoner</option>
<option>meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo</option>
<option>meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo</option>
<option>meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo</option>
<option>mistral-large-latest</option>
<option>pixtral-large-latest</option>
<option>codestral-latest</option>
<option>google/gemma-2-27b-it</option>
<option>grok-beta</option>
</select>
</div>
</div>
</div>
<div id="judge0-chat-messages"></div>
<div id="judge0-chat-input-container" class="ui basic segment">
<form id="judge0-chat-form" class="ui fluid action input">
<input id="judge0-chat-user-input" type="text">
<button id="judge0-chat-send-button" class="ui primary icon button" type="submit">
<i class="arrow up icon"></i>
</button>
</form>
</div>
</div>
<div id="judge0-status-line" class="ui bottom right attached mini label judge0-showStatusLine"></div>
<a href="https://judge0.com" target="_blank" class="ui bottom center attached mini label judge0-showCopyright">© 2016-2025 Judge0 d.o.o. – All Rights Reserved. • A Croatian 🇭🇷 company</a>
<script>
if ("serviceWorker" in navigator) {
navigator.serviceWorker.register("sw.js").then(() => console.log("Service Worker Registered"));
}
</script>
</body>
</html>