forked from buu700/napster.fm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mobile.html
executable file
·148 lines (100 loc) · 6.59 KB
/
mobile.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
<!DOCTYPE html>
<html class='no-js'>
<head>
<meta charset='utf-8' />
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1' />
<title>Peer.fm – Free music and stuff</title>
<meta name='description' content="Peer.fm is a free music-streaming service built according to the design of the original Napster. Beyond a major refresh of Napster's original feature set, Peer.fm provides real-time music synchronisation between users and operates without circumventing the law in any way." />
<meta name='viewport' content='width=device-width' />
<link rel='icon' type='image/ico' href='img/favicon.ico' />
<link rel='stylesheet' href='//netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/css/bootstrap-combined.min.css' />
<link rel='stylesheet' href='//netdna.bootstrapcdn.com/bootswatch/2.1.1/cosmo/bootstrap.min.css' />
<link rel='stylesheet' href='//netdna.bootstrapcdn.com/font-awesome/3.0.2/css/font-awesome.css' />
<link rel='stylesheet' href='//cdnjs.cloudflare.com/ajax/libs/humane-js/3.0.6/themes/original.css' />
<link rel='stylesheet' href='css/napster.css' />
</head>
<body>
<div>
<p>
Hey, sorry, mobile isn't supported at the moment, so for now I'm rediretcing you to a stripped down version of the page with the Home and About sections included.
</p>
</div>
<div>
<div class='hero-unit'>
<h1><img src='img/logo.hero.png' /></h1>
<h2>Napster reimagined for the modern Web</h2>
<br />
<div class='row-fluid'>
<div class='span12'>
<h4>A few features that make Peer.fm better than Napster OG:</h4>
</div>
</div>
<div class='row-fluid'>
<div class='span7'>
<h3>Real-time syncing</h3>
<p>Every one of your open Peer.fm windows – anywhere in the world – will keep their players synced</p>
<p>Alternatively, you can choose to sync with any other user and listen in on their music</p>
</div>
<div class='span5'>
<h3>Web-based (exclusively, for now)</h3>
<p>Your music collection travels with you</p>
</div>
</div>
<div class='row-fluid'>
<div class='span7'>
<h3><a href='//github.com/buu700/napster.fm/'>Open source</a></h3>
<p>If Peer.fm were ever abandoned or shut down, the community could immediately rehost it</p>
</div>
<div class='span5'>
<h3>You won't get arrested</h3>
<p>As punishment for using this software, in any case...</p>
</div>
</div>
</div>
</div>
<div>
<h3>Frequently Asked Questions</h3>
<h4>Will I be sued for using this?</h4>
<p>Absolutely.</p>
<h4>Holy shit, seriously?</h4>
<p>No.</p>
<h4>Then how does this work?</h4>
<p>As far as the streaming music, I'm essentially just grabbing existing content on YouTube based on metadata (titles, artists, etc.) from the <a href='//discogs.com/'>Discogs</a> database.</p>
<h4>So the entire service is dependent on minor inefficiencies in YouTube's piracy-detection system?</h4>
<p>Shhh... They probably don't hurt, but no, not necessarily; just don't be too selective about which version of a song you're after.</p>
<h4>Cool. So why does Peer.fm vaguely resemble Windows 8?</h4>
<p>Windows 8 introduced some interesting ideas and a nearly passable UX, but for the most part I just think the new Metro style / flat trend looks cool.</p>
<p>Also, I liked the idea of reimagining Napster – originally a Windows 95 desktop interface – as a Windows 8-ish modern Web application.</p>
<h4>Speaking of the desktop, where are my native and mobile apps? When can I run this on my toaster?</h4>
<p>Stay tuned; I have some ideas about that. If you really care, just <a onclick='ui.scrollToBottom()'>shoot me an email</a> and I'll let you know as soon as I have an update.</p>
<h4>Who are you?</h4>
<p>My alias online is buu700, but I most often go by Ryan Lester IRL. I'm a student at Carnegie Mellon, currently taking a few years off to work at SpaceX and do other stuff. In my free time, I contribute to <a href='//w3sec.org/about'>w3sec</a>.</p>
<h4>I'd like to make a small inquiry of you / spam you / ask you out on a date / give you money / take you to court / send you a comment. How can I contact you?</h4>
<p>Sure, no problem; just <a onclick='ui.scrollToBottom()'>scroll to the bottom</a> for my contact information.</p>
<h4>I have nothing better to do with my life; how can I contribute to Peer.fm?</h4>
<p>As mentioned on the home page, everything is developed in the open on GitHub; any extra hands would be brilliant. Email me or something before sending any pull requests, but please don't hesitate to log any bug reports or feature requests in the <a href='//github.com/buu700/napster.fm/issues'>issues system</a>.</p>
<h4>If I should decide to contribute, what technical specifics regarding Peer.fm should I be aware of?</h4>
<p>1. To manage all of our data, I'm using the fantastic real-time "serverless" data store <a href='//firebase.com/'>Firebase</a> (YC S11). As a consequence, aside from a set of Firebase validation rules, this is pure client-side engineering; grade-A JS hackers only.</p>
<p>2. Other than the Firebase SDK and the YouTube API, the major libraries and frameworks I'm using are: <a href='//code.google.com/p/closure-library'>Google Closure</a>, <a href='//angularjs.org'>AngularJS</a>, <a href='//sugarjs.com'>Sugar</a>, and <a href='//getbootstrap.com'>Bootstrap</a> (they're all brilliant).</p>
<p>3. If you're used to traversing the DOM with jQuery, my Closure-based <a href='//github.com/buu700/napster.fm/blob/master/js/closurequery.js'>ClosureQuery</a> may look a bit familiar.</p>
<h4>What specifically could you use help with?</h4>
<p>To preface, I'm open to any proposed contribution to the project. That being said:</p>
<p>1. Automated testing: Peer.fm currently has zero test coverage and I've no plans to write any myself in the near future; this could be a project for someone else to handle.</p>
<p>2. Artwork: I'm currently borrowing the <a href='//en.wikipedia.org/wiki/Akonadi'>Akonadi</a> logo for the Peer.fm favicon (no special significance; KDE's just awesome).</p>
<p>3. User documentation: there is none at the moment.</p>
</div>
<div id='footer' class='container'>
<hr />
<footer>
<p>
© Napster.fm 2013
<br />
<a href='mailto:[email protected]'>[email protected]</a>
<br />
+1(337) 935 0016
<br />
<a href='//plus.google.com/102924227355926902317/'>Google+</a>
</p>
</footer>
</div>
</html>