Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
289 lines (252 loc) · 7.56 KB
/
Copy pathindex.html
File metadata and controls
289 lines (252 loc) · 7.56 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>{jqi} - The almighty jq processor, wrapped in a graphical UI.</title>
<link href="https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta name="description" content="The almighty jq processor, wrapped in a GUI.">
<meta name="keywords" content="jq, json, data, processing, import, export, productivity, development, manipulation">
<meta name="feditor:layout" content="eyJjb25zb2xlIjp7InpJbmRleCI6NSwiaGVpZ2h0IjoiNTAlIiwid2lkdGgiOiIzMCUiLCJ0b3AiOiI1MCUiLCJsZWZ0IjoiNzAlIiwiaWQiOiJjb25zb2xlIn0sIm5vdGVwYWRDU1MiOnsiekluZGV4Ijo5NCwiaGVpZ2h0IjoiNDklIiwid2lkdGgiOiIyOSUiLCJ0b3AiOjAsImxlZnQiOiI0MCUiLCJpZCI6Im5vdGVwYWRDU1MiLCJzY3JvbGxMZWZ0IjowLCJzY3JvbGxUb3AiOjEzMC41fSwibm90ZXBhZEhUTUwiOnsiekluZGV4Ijo5MSwiaGVpZ2h0IjoiNDklIiwid2lkdGgiOiIzOSUiLCJ0b3AiOjAsImxlZnQiOjAsImlkIjoibm90ZXBhZEhUTUwiLCJzY3JvbGxMZWZ0IjowLCJzY3JvbGxUb3AiOjk1OX0sIm5vdGVwYWRKUyI6eyJ6SW5kZXgiOjkzLCJoZWlnaHQiOiI0OSUiLCJ3aWR0aCI6IjMwJSIsInRvcCI6MCwibGVmdCI6IjcwJSIsImlkIjoibm90ZXBhZEpTIiwic2Nyb2xsTGVmdCI6MCwic2Nyb2xsVG9wIjowfSwicHJldmlldyI6eyJ6SW5kZXgiOjg2LCJoZWlnaHQiOiI5LjY1NzcwMTcxMTQ5MTQ0MyUiLCJ3aWR0aCI6IjE1LjA1MjYzMTU3ODk0NzM2OCUiLCJ0b3AiOiI1MCUiLCJsZWZ0IjowLCJpZCI6InByZXZpZXcifX0=">
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-101630197-1', 'auto');
ga('send', 'pageview');
</script>
<style id="feditor-css">
body {
background-color: #ddd;
color: #000;
font-family: "Ubuntu Mono", "Lucida Console", Monaco, monospace;
margin: 0;
}
article {
display: flex;
align-items: center;
justify-content: center;
padding: 2rem;
}
h1 {
font-size: 4rem;
}
hr {
background-color: transparent;
height: 0;
margin: 0 auto;
width: 80vw;
}
a {
color: #000;
}
#intro {
background: #aa076b;
background: -webkit-linear-gradient(to right, #aa076b, #61045f);
background: linear-gradient(to right, #aa076b, #61045f);
color: #fff;
height: 100vh;
width: 100vw;
padding: 0;
}
#intro h2 {
color: rgba(255, 255, 255, 0.8);
}
#jq {
background-color: #fff;
color: #333;
flex-direction: column;
}
#jq img {
max-height: 80vh;
max-width: 80vw;
}
#download {
background-color: #fff;
display: block;
text-align: center;
}
#download .button {
border-radius: 5px;
background-color: rgba(0, 128, 128, 0.8);
color: #fff;
font-size: 3rem;
}
#download .button:hover {
background-color: teal;
}
.jq-steps {
}
.js-steps {
width: 400px;
}
.circle {
border-radius: 50%;
border: solid 10px #aaa;
background-color: #272822;
margin: 2rem;
height: 300px;
width: 300px;
position: relative;
}
.circle.program {
background: transparent url(https://github.com/nire0510/jqi/raw/master/jqi-program.png);
display: flex;
align-items: center;
justify-content: center;
}
.circle.program .icon-button {
font-size: 10rem;
height: 150px;
width: 150px;
}
.circle.export {
background: transparent url(https://github.com/nire0510/jqi/raw/master/jqi.png);
}
.icon-button {
border-radius: 50%;
color: #fff;
font-size: 3rem;
height: 50px;
width: 50px;
padding: 1rem;
position: absolute;
}
.icon-button.web {
background-color: #ec407a;
left: 15%;
top: 20%;
}
.icon-button.file {
background-color: #66bb6a;
right: 15%;
top: 20%;
}
.icon-button.clipboard {
background-color: #03a9f4;
bottom: 10%;
left: calc(50% - 40px);
}
.button {
background-color: rgba(255, 255, 255, 0.8);
cursor: pointer;
color: teal;
border: solid 1px #fff;
border-radius: 3px;
display: inline-block;
font-family: "Ubuntu Mono", "Lucida Console", Monaco, monospace;
font-weight: bold;
font-size: 1.2rem;
margin-top: 2rem;
padding: 1rem;
transition: background-color 500ms ease-out;
text-align: center;
text-decoration: none;
text-transform: uppercase;
}
.button.more {
background-color: transparent;
color: rgba(255, 255, 255, 0.8);
transition: color 500ms ease-out;
}
.button.more:hover {
background-color: transparent;
color: #fff;
}
.button:hover {
background-color: #fff;
}
.logo {
padding: 2rem;
}
.opacity-50 {
opacity: 0.5;
}
@media all and (max-width: 650px) {
article {
flex-direction: column;
text-align: center;
}
h1 {
margin: 0;
}
.button {
margin-top: 0;
}
.jq-steps br {
display: none;
}
.jq-steps p {
text-align: justify;
}
#download .button {
font-size: 2rem;
}
}
</style>
</head>
<body>
<article id="intro">
<img class="logo" src="https://github.com/nire0510/jqi/raw/master/icon_128x128.png" alt="jqi Logo">
<header>
<h1>
<span class="opacity-50">{</span>jqi<span class="opacity-50">}</span>
</h1>
<h2 class="slogan">
The almighty jq processor<br>wrapped in a graphical UI
</h2>
<a class="button more" title="Learn more">Learn More</a>
<a class="button" href="https://www.dropbox.com/s/cjcujamk1nzwmsa/jqi.dmg?dl=1" title="Download jqi for Mac">Download for Mac</a>
</header>
</article>
<article id="jq">
<img src="https://github.com/nire0510/jqi/raw/master/jqi.png" alt="">
</article>
<article class="jq-steps">
<div class="circle">
<i class="icon-button web material-icons">cloud_download</i>
<i class="icon-button file material-icons">file_download</i>
<i class="icon-button clipboard material-icons">content_paste</i>
</div>
<div>
<h2>IMPORT JSON</h2>
<p>
Start by importing JSON from clipboard, a file or even the network with cURL. <br>
JSON will be stored locally and available for future use, even if you close jqi.
</p>
</div>
</article>
<hr>
<article class="jq-steps">
<div class="circle program"><i class="icon-button filter material-icons">filter_list</i></div>
<div>
<h2>APPLY FILTERS</h2>
<p>
Write your jq program to slice, filter, map or transform the imported JSON data. <br>
jq offers some powerful commands; It is most recommended to <a href="https://stedolan.github.io/jq/manual/">read its manual</a> to get the most out of it.
</p>
</div>
</article>
<hr>
<article class="jq-steps">
<div class="circle export"></div>
<div>
<h2>EXPORT OUTPUT</h2>
<p>
Your jq program output can be easily saved to JSON file using the export button.
</p>
</div>
</article>
<article id="download">
<a class="button" href="https://www.dropbox.com/s/cjcujamk1nzwmsa/jqi.dmg?dl=1">Download for Mac</a>
</article>
<script src="https://cdnjs.cloudflare.com/ajax/libs/velocity/1.5.0/velocity.min.js"></script>
<script id="feditor-js">
document.querySelector('a.more').addEventListener('click', function () {
window.Velocity(document.querySelector('.jq-steps'), 'scroll', { duration: 3000 });
});
</script>
</body>
</html>