-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
55 lines (54 loc) · 2.83 KB
/
index.html
File metadata and controls
55 lines (54 loc) · 2.83 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
<head>
<meta charset="utf-8"/>
<link rel="stylesheet" type="text/css" href="css/index.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.4.1/jspdf.debug.js" integrity="sha384-THVO/sM0mFD9h7dfSndI6TS0PgAGavwKvB5hAxRRvc0o9cPLohB0wb/PTA7LdUHs" crossorigin="anonymous"></script>
<!-- jspdf.min.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js" crossorigin="anonymous"></script>
<script src="https://cdn.rawgit.com/davidshimjs/qrcodejs/gh-pages/qrcode.min.js" crossorigin="anonymous"></script>
<script src="js/code_streamer.js"></script>
</head>
<body>
<div class="content_body">
<h1 style="border-bottom: 1px solid #eaecef;">code-streamer</h1>
<div class="section">
<p>Print physical representations of your favorite streams and enrich them with a scan code linking it to your favorite streaming site.</p>
<p>Creates QR codes for weblinks. Links for Apple Music get redirected to iTunes. iPhone has a QR code in its camera App and for Android the <a href="https://play.google.com/store/apps/details?id=com.google.zxing.client.android">ZXing</a> App is very popular.</p>
<p>Spotify has its own code supported by its search bar.</p>
<p>Use it for your favorite music and any other kind of stream or weblink.</p></div>
<div class="section">
<div class="highlight">
<h2>PDF Generator</h2>
<div class="section">
<label>Upload Cover Image</label>
<input id="cover" type=file accept="image/*"/></div>
<div class="section">
<label>Encoded URL</label>
<input id="url" type="url"></div>
<div class="section">
<button class="success" onclick="CreatePdf()">Create PDF</button></div></div>
<div class="section">
<h2 onclick="toggleDisplay('dual')">Dual PDF Generator</h2>
<div id="dual"> <!-- style="display:none"> -->
<div class="section">
<label>Upload Cover Image</label>
<input id="coverA" type=file accept="image/*"/>
<input id="coverB" type=file accept="image/*"/></div>
<div class="section">
<label>Encoded URL</label>
<input id="urlA" type="url">
<input id="urlB" type="url"></div>
<div class="section">
<button class="success" onclick="CreateDualPdf()">Create Dual PDF</button></div></div>
</div>
<h2>Examples</h2>
<p><small><a href="https://soundcloud.com/samayamusic/fusion-alchemist-tribal-trap-world-bass-psychedelic-eastern-vibes-glitch-hop-mixtape">Samaya - Fusion Alchemist</a> @ SoundCloud.com</p></small>
<img src="examples/samaya.png"/>
<p><small><a href="https://open.spotify.com/album/5bqtZRbUZUxUps8mrO9tGY">Judas Priest - British Steel</a> @ Spotify.com</p></small>
<img src="examples/judas-priest-british-steel.png"/>
<p><small>Use the scan option in the searchbar of the Spotify App</small></p>
<img src="examples/spotify-search.png"/></div></div>
<div class="section">
<small><a href="https://github.com/psytrap/code-streamer">A GitHub project</a></small></div></div>
<div>
</div>
</body>