Skip to content

Commit

Permalink
release 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nate-parrott committed Apr 14, 2015
1 parent c68e840 commit 09e9ce3
Show file tree
Hide file tree
Showing 8 changed files with 267 additions and 472 deletions.
8 changes: 8 additions & 0 deletions Appcast.xml
Expand Up @@ -5,6 +5,14 @@
<link>https://raw.githubusercontent.com/nate-parrott/flashlight/master/Appcast.xml</link>
<description>Most recent changes with links to updates.</description>
<language>en</language>
<item>
<title>Version 1.0</title>
<sparkle:releaseNotesLink>http://flashlightupdates.42pag.es/1.0</sparkle:releaseNotesLink>
<pubdate>Fri, 30 Mar 2015 20:27:11 +0000</pubdate>
<enclosure url="https://github.com/nate-parrott/Flashlight/releases/download/v1.0/Flashlight.zip" sparkle:version="50" sparkle:shortVersionString="1.0" type="application/octet-stream" sparkle:dsaSignature="MC0CFGKmkub5O9DE4ppsoI71sUkl1doDAhUAu/g4RChaxwykiZTkF4Nr18NxEJs=">
<sparkle:minimumSystemVersion>10.10</sparkle:minimumSystemVersion>
</enclosure>
</item>
<item>
<title>Version 0.98.2</title>
<sparkle:releaseNotesLink>http://flashlightupdates.42pag.es/0.98.2</sparkle:releaseNotesLink>
Expand Down
188 changes: 94 additions & 94 deletions flashlightplugins/index.html
@@ -1,97 +1,97 @@
{% extends "base.html" %}

{% block head %}
{{ super() }}
<link rel='stylesheet' href='/static/index.css' />
{% endblock %}

{% block outside_content %}

<div id='splash'>
<div>
<img class='main' src='/static/images/large/weather.png'/>
<h2>Add over 160 plugins to OS X's Spotlight search box. Check the weather, search the web, send an iMessage, find an emoji, and more.</h2>
<p class='small'>For OS X Yosemite. Completely open-source. No crazy installer. Uninstall with one click.</p>
<p>
<a id='download' href='/latest_download'>
<span class='fa fa-download'></span>
Download <span class='beta'>beta</span>
</a>
</p>
</div>
</div>

{% endblock %}

{% block body %}

<div id='index'>

<div id='images'>
<img src='/static/images/note.png'/>
<img src='/static/images/reminder.png'/>
<p><q>Flashlight extends OS X’s Spotlight in a great direction</q> <cite><a href='http://thenextweb.com/apps/2014/11/12/flashlight-os-xs-yosemite-spotlight/'>The Next Web</a></cite></p>
<img src='/static/images/email.png'/>
<img src='/static/images/ping.png'/>
<p><q>Spotlight on steroids</q> <cite><a href='http://www.cnet.com/how-to/flashlight-puts-os-x-yosemites-spotlight-feature-on-steroids/'>CNET</a></cite></p>
<img src='/static/images/translate.png'/>
<img src='/static/images/wolfram.png'/>
<p><q>a glimpse of what an extendable Spotlight for Yosemite could be</q> <cite><a href='http://www.macstories.net/mac/flashlight-extends-os-x-yosemites-spotlight-with-plugins/'>Macstories</a></cite></p>
<img src='/static/images/imessage.png'/>
<img src='/static/images/images.png'/>
</div>
</div>

{% endblock %}

{% block footer %}
<div id='footer-container'>
<div id='footer'>
<p id='footer-links'>
<a href='/latest_download'>
<span class='fa fa-download'></span>
<strong>Download</strong> for OS X Yosemite
</a>
<a href='/browse'>
<span class='fa fa-puzzle-piece'></span>
<strong>Browse</strong> all plugins
</a>
<a href='https://github.com/nate-parrott/Flashlight/wiki/Creating-a-Plugin'>
<span class='fa fa-file-code-o'></span>
<strong>Develop</strong> a plugin
</a>
</p>

<div id='social'>
<div>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&appId=385205984962960&version=v2.0";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-like" data-href="http://flashlight.nateparrott.com" data-layout="button_count" data-action="like" data-show-faces="false" data-share="true"></div>
</div>
<!DOCTYPE html>
<html>
<head>
<title>Flashlight — do anything with a keystroke</title>

<meta property="og:image" content="http://flashlight.nateparrott.com/static/images/simple-screenshot.png" />
<meta property="og:description" content="Check the weather, search the web, set reminders and more, right inside your Mac's search box." />
<meta property="og:title" content="Flashlight — do anything with a keystroke" />
<meta property="og:type" content="website" />

<link rel='stylesheet' href='/static/index.css'/>
<script src='/static/animation/animation.js'></script>

<script src='/static/splash.js'></script>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"/>

<meta name="viewport" content="width=device-width, initial-scale=1"/>

</head>
<body>
<div id='background-container'>
<div id='background'></div>
</div>

<div id='main' class='screen'>
<div>
<div>
<h1>Flashlight: Control your Mac with a keystroke.</h1>

<svg id="animation" viewBox="0,0,1584,1084">
<image id='empty' xlink:href="/static/animation/resources/empty.png" x="0" y="0" height="100%" width="100%"/>
<image id='result' x="0" y="0" height="100%" width="100%"/>
<text x="214" y="138" font-family="HelveticaNeue" font-size="54">
<tspan id='text'>Spotlight Search</tspan><tspan style="font-weight: 100">|</tspan>
</text>
</svg>
<div id='actions'>
<a href='/latest_download' id='download'>Download</a>
<a href='https://github.com/nate-parrott/Flashlight'>Github</a>
<a href='/browse'>Browse Plugins</a>
</div>
<p><strong>Search the web, save a note, add a reminder, or do over 160 other things, just by typing into your Mac's Spotlight search box. Or <a href='https://github.com/nate-parrott/Flashlight/wiki/Creating-a-Plugin'>write your own plugins.</a></strong> Requires OS X Yosemite.</p>
</div>
</div>
</div>

<div class='section'>
<div>
<div>
<p>Flashlight is an <strong>open platform for Spotlight</strong>, which allows developers to <a href='https://github.com/nate-parrott/Flashlight/wiki/Creating-a-Plugin'>write plugins</a> that extend OS X's built-in search with new features. Here are some of our favorites:</p>
<div id='featured'>
{{ featured_html | safe }}
</div>
<p>
<a class='button' href='/browse'>Browse all <span class='fa fa-chevron-right'></span></a>
</p>
</div>
</div>
</div>

<div class='section'>
<div>
<div>
<div id='social'>
<div>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&appId=385205984962960&version=v2.0";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-like" data-href="http://flashlight.nateparrott.com" data-layout="button_count" data-action="like" data-show-faces="false" data-share="true"></div>
</div>

<div>
<iframe data-wr_replaced="true" frameborder="0" height="20" scrolling="0" style="" src="http://ghbtns.com/github-btn.html?user=nate-parrott&amp;repo=Flashlight&amp;type=watch&amp;count=true" width="95" allowtransparency="true"></iframe>
</div>
<div>
<iframe data-wr_replaced="true" frameborder="0" height="20" scrolling="0" style="" src="http://ghbtns.com/github-btn.html?user=nate-parrott&amp;repo=Flashlight&amp;type=watch&amp;count=true" width="95" allowtransparency="true"></iframe>
</div>

<div>
<a href="https://twitter.com/share" class="twitter-share-button" data-related="itsflashlight">Tweet</a>
</div>
<div>
<a href="https://twitter.com/share" class="twitter-share-button" data-related="itsflashlight">Tweet</a>
</div>

<div>
<a href="https://twitter.com/itsflashlight" class="twitter-follow-button" data-show-count="false" data-dnt="true">Follow @itsflashlight</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
</div>
</div>

<p>
By <a href='http://nateparrott.com'>Nate Parrott</a> and <a href='https://github.com/nate-parrott/Flashlight/graphs/contributors'>many others.</a>
</p>
</div>
</div>
{% endblock %}
<div>
<a href="https://twitter.com/itsflashlight" class="twitter-follow-button" data-show-count="false" data-dnt="true">Follow @itsflashlight</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
</div>
</div>

<p>By <a href='http://nateparrott.com'>Nate Parrott</a> and <a href='https://github.com/nate-parrott/Flashlight/graphs/contributors'>many others.</a></p>

</div>
</div>
</div>
</body>
</html>
97 changes: 0 additions & 97 deletions flashlightplugins/index3.html

This file was deleted.

15 changes: 5 additions & 10 deletions flashlightplugins/main.py
Expand Up @@ -31,17 +31,13 @@ def send_upload_form(request, message=None):
"message": message,
"admin": users.is_current_user_admin()}))

class MainHandler(webapp2.RequestHandler):
def get(self):
self.response.write(template("index.html"))

class MainHandler2(webapp2.RequestHandler):
class PreviewHandler(webapp2.RequestHandler):
def get(self):
self.response.write(template("index2.html"))

class MainHandler3(webapp2.RequestHandler):
class MainHandler(webapp2.RequestHandler):
def get(self):
key = 'main.MainHandler3.rendered'
key = 'main.MainHandler.rendered'
rendered = memcache.get(key)
if not rendered:
rendered = self.render()
Expand All @@ -52,7 +48,7 @@ def render(self):
args = {
"featured_html": directory_html(category='Featured', browse=True)
}
return template("index3.html", args)
return template("index.html", args)

class UploadHandler(webapp2.RequestHandler):
def get(self):
Expand Down Expand Up @@ -264,8 +260,7 @@ def get(self):
return Redir

app = webapp2.WSGIApplication([('/', MainHandler),
('/preview', MainHandler2),
('/preview3', MainHandler3),
('/preview', PreviewHandler),
('/browse', BrowseHandler),
('/plugin/(.+)/latest\.zip', PluginZipRedirectHandler),
('/plugin/(.+)', PluginPageHandler),
Expand Down
2 changes: 1 addition & 1 deletion flashlightplugins/static/base.css
Expand Up @@ -4,7 +4,7 @@ body {
line-height: 1.25;
color: white;
font-family: "Helvetica Neue", "Helvetica", sans-serif;
background-color: #333334;
background-color: #06A6FF;
margin: 0 !important;
margin-bottom: 2em;
padding: 0;
Expand Down

0 comments on commit 09e9ce3

Please sign in to comment.