-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
219 lines (211 loc) · 10.8 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
<!doctype html>
<head>
<meta charset="utf8">
<title>io10.dev</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Primary Meta Tags --> <!-- this is the default metadata which all websites can draw on -->
<meta name="description" content="A data pipeline in your browser.">
<!-- Open Graph / Facebook --> <!-- this is what Facebook and other social websites will draw on -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://io10.dev">
<meta property="og:title" content="io10">
<meta property="og:description" content="A data pipeline in your browser.">
<meta property="og:image" content="https://io10.dev/assets/favicon-dark.png">
<!-- Twitter --> <!-- You can have different summary for Twitter! -->
<meta property="twitter:type" content="website">
<meta property="twitter:url" content="https://io10.dev">
<meta property="twitter:title" content="io10">
<meta property="twitter:description" content="A data pipeline in your browser.">
<meta property="twitter:image" content="https://io10.dev/assets/favicon-dark.png">
<meta property="twitter:card" content="https://io10.dev/assets/favicon-dark.png">
<script src="3rdparty/pyodide.js" type="text/javascript"></script>
<link rel="stylesheet" href="3rdparty/codemirror/codemirror.css">
<link rel="stylesheet" href="3rdparty/codemirror/show-hint.css">
<link rel="stylesheet" href="3rdparty/codemirror/3024-day.css">
<link rel="stylesheet" href="3rdparty/codemirror/yonce-custom.css">
<link rel="stylesheet" href="3rdparty/codemirror/io.css">
<link rel="stylesheet" href="3rdparty/codemirror/scroll/simplescrollbars.css">
<link rel="stylesheet" href="3rdparty/mermaid.min.css">
<link rel="stylesheet" href="main.css">
<link rel="stylesheet" href="help.css">
<script src="coi-serviceworker.js"></script>
<link rel="icon" type="image/x-icon" href="assets/favicon-dark.svg" id="icon">
<script src="3rdparty/codemirror/codemirror.js"></script>
<script src="3rdparty/codemirror/sql-hint.js"></script>
<script src="3rdparty/codemirror/show-hint.js"></script>
<script src="3rdparty/codemirror/scroll/simplescrollbars.js"></script>
<script type="text/javascript" src="3rdparty/guesslang.min.js"></script>
<script type="text/javascript" src="3rdparty/jszip.min.js"></script>
<script type="text/javascript" src="3rdparty/FileSaver.min.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-PQEN5VP9HP"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-PQEN5VP9HP');
</script>
</head>
<body>
<!--Add buttons to initiate auth sequence and sign out-->
<button id="authorize-button" style="display: none;">Authorize</button>
<button id="signout-button" style="display: none;">Sign Out</button>
<div id="content"></div>
<input type='file'
accept=".csv,.txt,.json,.xls,.xlsx,.ods,.db,.sqlite,.zip"
id='file-upload' style="display:none">
<div id="help" class="help">
</div>
<div id="helppanel" class="help-panel">
<h2>Keyboard Commands</h2>
<hr>
<div class="col-container">
<div class="shortcut-row">
<div class="lozenge keyboard-cell shortcut-cell"><kbd class="ctrl">Ctrl</kbd>+<kbd class="enter">Enter</kbd></div>
<div class="shortcut-cell"> Run Current Step</div>
</div>
<div class="shortcut-row">
<div class="lozenge keyboard-cell shortcut-cell"><kbd class="alt">Alt</kbd>+<kbd>→</kbd></div>
<div class="shortcut-cell">Next Step</div>
</div>
<div class="shortcut-row">
<div class="lozenge keyboard-cell shortcut-cell"><kbd class="alt">Alt</kbd>+<kbd>←</kbd></div>
<div class="shortcut-cell">Previous Step</div>
</div>
<div class="shortcut-row">
<div class="lozenge keyboard-cell shortcut-cell"><kbd class="alt">Alt</kbd>+<kbd>R</kbd></div>
<div class="shortcut-cell">Run Pipeline</div>
</div>
<div class="shortcut-row">
<div class="lozenge keyboard-cell shortcut-cell"><kbd class="alt">Alt</kbd>+<kbd>A</kbd></div>
<div class="shortcut-cell">Insert Step After</div>
</div>
<div class="shortcut-row">
<div class="lozenge keyboard-cell shortcut-cell"><kbd class="alt">Alt</kbd>+<kbd>B</kbd></div>
<div class="shortcut-cell">Insert Step Before</div>
</div>
<div class="shortcut-row">
<div class="lozenge keyboard-cell shortcut-cell"><kbd class="alt">Esc</kbd> > <kbd>←→</kbd></div>
<div class="shortcut-cell">Navigate Panes</div>
</div>
<div class="shortcut-row">
<div class="lozenge keyboard-cell shortcut-cell"><kbd class="ctrl">Ctrl</kbd>+<kbd>O</kbd></div>
<div class="shortcut-cell">Load File</div>
</div>
<div class="shortcut-row">
<div class="lozenge keyboard-cell shortcut-cell"><kbd class="alt">Alt</kbd>+<kbd>↑</kbd></div>
<div class="shortcut-cell">Next Pipeline</div>
</div>
<div class="shortcut-row">
<div class="lozenge keyboard-cell shortcut-cell"><kbd class="alt">Alt</kbd>+<kbd>↓</kbd></div>
<div class="shortcut-cell">Previous Pipeline</div>
</div>
<div class="shortcut-row">
<div class="lozenge keyboard-cell shortcut-cell"><kbd class="alt">Alt</kbd>+<kbd>C</kbd></div>
<div class="shortcut-cell">Delete Current Step</div>
</div>
<div class="shortcut-row">
<div class="lozenge keyboard-cell shortcut-cell"><kbd class="alt">Alt</kbd>+<kbd>Q</kbd></div>
<div class="shortcut-cell">Delete Pipeline</div>
</div>
<div class="shortcut-row">
<div class="lozenge keyboard-cell shortcut-cell"><kbd class="ctrl">Ctrl</kbd>+<kbd>D</kbd></div>
<div class="shortcut-cell">Interrupt Execution</div>
</div>
<div class="shortcut-row">
<div class="lozenge keyboard-cell shortcut-cell"><kbd class="ctrl">Ctrl</kbd>+<kbd>O</kbd></div>
<div class="shortcut-cell">Load Pipeline from Zip</div>
</div>
<div class="shortcut-row">
<div class="lozenge keyboard-cell shortcut-cell"><kbd class="ctrl">Ctrl</kbd>+<kbd>S</kbd></div>
<div class="shortcut-cell">Save Pipeline as Zip</div>
</div>
<div class="shortcut-row">
<div class="lozenge keyboard-cell shortcut-cell"><kbd class="ctrl">F1</kbd></div>
<div class="shortcut-cell">Show Help</div>
</div>
<div class="shortcut-row">
<div class="lozenge keyboard-cell shortcut-cell"><kbd class="ctrl">F2</kbd></div>
<div class="shortcut-cell">Rename Pipeline</div>
</div>
</div>
<h2>Language Selection</h2>
<hr>
It tries to guess the language you're using in your program. If it doesn't succeed, you can force
language selection by entering one of the strings below at the start of the program
to specify its language.
<div class="col-container">
<div class="shortcut-row">
<div class="lozenge keyboard-cell shortcut-cell"><kbd class="ctrl">#!/bin/python</kbd></div>
<div class="shortcut-cell">Python</div>
</div>
<div class="shortcut-row">
<div class="lozenge keyboard-cell shortcut-cell"><kbd class="ctrl">#!/bin/py</kbd></div>
<div class="shortcut-cell">Python</div>
</div>
<div class="shortcut-row">
<div class="lozenge keyboard-cell shortcut-cell"><kbd class="ctrl">#!/bin/js</kbd></div>
<div class="shortcut-cell">Javascript</div>
</div>
<div class="shortcut-row">
<div class="lozenge keyboard-cell shortcut-cell"><kbd class="ctrl">#!/bin/sql</kbd></div>
<div class="shortcut-cell">SQL</div>
</div>
<div class="shortcut-row">
<div class="lozenge keyboard-cell shortcut-cell"><kbd class="ctrl">#!/bin/r</kbd></div>
<div class="shortcut-cell">R</div>
</div>
<div class="shortcut-row">
<div class="lozenge keyboard-cell shortcut-cell"><kbd class="ctrl">#!/bin/lua</kbd></div>
<div class="shortcut-cell">Lua</div>
</div>
<div class="shortcut-row">
<div class="lozenge keyboard-cell shortcut-cell"><kbd class="ctrl">#!/bin/awk</kbd></div>
<div class="shortcut-cell">Awk</div>
</div>
<div class="shortcut-row">
<div class="lozenge keyboard-cell shortcut-cell"><kbd class="ctrl">#!/bin/lisp</kbd></div>
<div class="shortcut-cell">Lisp</div>
</div>
</div>
<h2>Other Stuff</h2>
<hr>
<ul>
<li> You can add steps to the end of a pipe by just using <kbd>Alt</kbd>+<kbd>→</kbd>.</li>
</ul>
<div style="float:right" >Press <kbd>F1</kbd> to exit.</div>
</div>
</div>
<div class="container">
<div id="program" class="program"></div>
<div id="input" class="input"></div>
<div id="output" class="output"></div>
<div id="running" class="running">BUSY (CTRL-D TO STOP)</div>
<div id="filesbar" class="awesomebar filesbar">
<div id="files-title" class="title files-title">FILES</div><div id="files-container" class="pipeline-container">
</div>
</div>
<div id="awesomebar" class="awesomebar">
<div id="site-title" class="title"><a href="https://github.com/mwenge/io10.dev" target="_blank"><img src="assets/github-dark.png" height=12>io10.dev</a></div><div id="pln-container" class="pipeline-name">
<span id="pipeline-name" contenteditable=true>STUFF IS LOADING</span>
</div><div id="pipeline-container" class="pipeline-container"><div class="pipe">Made by @mwenge</div>
</div>
</div>
<div id="pipeline-map" class="pipeline-container pipeline-map-container"></div>
</div>
</body>
<script src="3rdparty/codemirror/sql.min.js"></script>
<script src="3rdparty/codemirror/python.min.js"></script>
<script src="3rdparty/codemirror/lua.min.js"></script>
<script src="3rdparty/codemirror/awk.js"></script>
<script src="3rdparty/codemirror/scheme.js"></script>
<script src="3rdparty/codemirror/r.min.js"></script>
<script src="3rdparty/codemirror/javascript.min.js"></script>
<script src="3rdparty/codemirror/edit/matchbrackets.js"></script>
<script src="3rdparty/localforage.min.js"></script>
<script src="3rdparty/xlsx.full.min.js"></script>
<script src="3rdparty/lua/fengari-web.js"></script>
<script src="3rdparty/awk/mawk.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@jcubic/lips@beta/dist/lips.min.js" bootstrap></script>
<script type="module" src="main.js"></script>
</html>