/searchiscope

Latest tweets from anywhere in the world

Primary LanguageElm

Searchiscope

Latest tweets from anywhere in the world!

Radius is 10 km, up to 15 tweets are shown, search is 6-7 days deep.

Built with Elm, Go, Google Maps API, Twitter Search API.

How to start your own instance

  • Install Elm and Google App Engine SDK for Go.

  • Create a Twitter app, obtain its API consumer key and secret, and put them in config/twitter_credentials.json in this format:

    {
      "key": "0123456789ABCDEF",
      "secret": "0123456789ABCDEF0123456789ABCDEF"
    }
    
  • Create a Google AppEngine project, obtain its ID, and put it in app.yaml under application: key.

  • Compile Elm code to elm.js with elm-make:

    $ pushd elm && elm-make TwitterSearch.elm --output ../js/elm.js && popd
    
  • Then, start a local instance:

    $ goapp serve
    
  • Or deploy to Google App Engine:

    $ goapp deploy
    

License

TODO

  • Configurable radius
  • Permalinks
  • Display local timezone instead of UTC