Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Send songs, videos, web urls from your phone to your desktop with a flick of your wrist

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 ios
Octocat-spinner-32 mac
Octocat-spinner-32 src
Octocat-spinner-32 static
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 iTunes.h
Octocat-spinner-32 nginx.conf
Octocat-spinner-32 package.json
README.md

Fling Readme

Developed by Abi Raja, Feross Aboukhadijeh, and Alex Hicks-Nelson for Stanford ACM Big Hack 2012. We won second place.

Fling your content around!

Fling is an iPhone app and bookmarklet that let's you fling content (like music, web urls, and youtube videos) from your phone onto a nearby computer. The computer you're sending too only needs a web browser to receive flings. We also built a Mac app so if you're a regular flinger you can fling without even opening a browser window! This is super handy if you like to continue listening to your iPod music on your desktop speakers when you get home.

How to Run It

The server is written in Node.js and CoffeeScript. Objective C for the Mac and iPhone apps and JavaScript for the bookmarklet, of course. All the code is hackathon-quality and we haven't touched it since the hackathon, so we make no guarantees about code quality or runability of anything! Here be dragons...

Server

To get the server running,

npm install
coffee src/server.coffee
open http://localhost:5000

Run this in a new terminal window

coffee -w -o js/ -c src/*.coffee

Endpoints

  • /new with geolocation

Messsaging:

id -> {name, geolocation, ip} frisbee -> do animation, etc.

Something went wrong with that request. Please try again.