GithubHelp home page GithubHelp logo

mpukviewr's Introduction

mpukviewr

Daemon and Rails application for viewr.

license

Before using this project yourself, there are some portions of it under a proprietary license as they were made by @CosmicDuck (twitter) rather than myself. LICENSE sets out all of these exceptions.

This project is released for noncommercial use under a Creative Commons CC-BY-NC-SA license (see LICENSE). Why? Because I want to make it free (as in beer) for noncommercial use (i.e. nonprofit events), NOT because I am under the illusion that using a CC-BY-NC-SA license turns viewr into true 'Open Source Software'.

mpukviewr's People

Contributors

kalleth avatar

Stargazers

Gus Luxton avatar Dan Campbell avatar  avatar Haven avatar Andrew Montgomery avatar

Watchers

James Cloos avatar  avatar

mpukviewr's Issues

Create a 'servers' widget box

List of gameservers for people to join. People submit their servers, viewr maintains a list (ordered by time since)

  • auto-removes after X amount of time
  • possible auto-backend query of servers
  • trigger notification when server added
    • spam/flood protection
  • 'server down?' button, >X clicks, remove.

Add ability to flag posts as 'important'

Manually in the backend we should have a duplicate of the viewr feed, but have the ability to flag a post as 'important', having it highlighted in the feed in some manner.

Switch twitter to streaming API

So that we don't 'poll', we need to switch to the streaming twitter API, which should also make notifications pretty much instant for new tweets.

First-time-only dismissable popover 'welcome' screen

It was made clear to me that some users aren't aware that viewr auto-updates. When the user first opens the app, we should provide a popover 'modal' box that tells the user:

  • This app auto updates. Do not refresh the page (unless 'CONNECTION ERROR' appears on the screen?)
  • This is an unmoderated live feed. blahblahblah.

Prevent URL's in tweets from being cut off

When someone RT's a tweet ending in a URL, that URL can be truncated because of the RT @whatsisname at the start.

The twitter API allows the URL (whilst truncated) to still be properly hyperlinked by providing it as extra data in a 'metadata' part of the tweetdata. Use this metadata info to hyperlink URL's in tweets, rather than fuzzy 'scan + turn into href' that happens currently (see: https://github.com/kalleth/mpukviewr/blob/master/feedpoller/lib/autolink.rb)

Prevent duplicate RT's appearing in feed

Frequently MPLAY_Wizzo would RT an iseries tweet, or vice versa.

These should be intelligently detected so that the same tweet doesn't appear on the feed twice.

Forum posts containing £ break Sanitize gem and if not sanitized break db because of charset

Backtrace:

2012-05-04 21:22:21.805621 feedpoller(61554) [INFO] controller.rb:114: Error occurred: incompatible character encodings: ISO-8859-1 and UTF-8
2012-05-04 21:22:21.805786 feedpoller(61554) [INFO] controller.rb:115: Error occurred: /usr/local/lib/ruby/gems/1.9/gems/sanitize-2.0.3/lib/sanitize.rb:116:in []=' /usr/local/lib/ruby/gems/1.9/gems/sanitize-2.0.3/lib/sanitize.rb:116:inclean!'
/usr/local/lib/ruby/gems/1.9/gems/sanitize-2.0.3/lib/sanitize.rb:93:in clean' /usr/local/lib/ruby/gems/1.9/gems/sanitize-2.0.3/lib/sanitize.rb:53:inclean'
/data/mpuk/feedpoller/lib/pollers/forum_poller.rb:35:in title_from_post_with_link' /data/mpuk/feedpoller/lib/pollers/forum_poller.rb:24:inblock in poll'
/data/mpuk/feedpoller/lib/pollers/forum_poller.rb:19:in each' /data/mpuk/feedpoller/lib/pollers/forum_poller.rb:19:inpoll'
/data/mpuk/feedpoller/lib/controller.rb:110:in block in poll' /data/mpuk/feedpoller/lib/controller.rb:109:ineach'
/data/mpuk/feedpoller/lib/controller.rb:109:in poll' /data/mpuk/feedpoller/libexec/feedpoller-daemon.rb:26:inblock in <top (required)>'
/data/mpuk/feedpoller/libexec/feedpoller-daemon.rb:25:in loop' /data/mpuk/feedpoller/libexec/feedpoller-daemon.rb:25:in<top (required)>'
/usr/local/lib/ruby/site_ruby/1.9/rubygems/custom_require.rb:36:in require' /usr/local/lib/ruby/site_ruby/1.9/rubygems/custom_require.rb:36:inrequire'
/usr/local/lib/ruby/gems/1.9/gems/daemon-kit-0.1.8.2/lib/daemon_kit/application.rb:49:in start' /usr/local/lib/ruby/gems/1.9/gems/daemon-kit-0.1.8.2/lib/daemon_kit/application.rb:24:inexec'
/data/mpuk/feedpoller/bin/feedpoller:8:in `

'

Create API for connecting mobile apps to viewr

Need to produce/create an API that mobile apps (android/iphone) can connect to so we can have mobile versions of viewr natively for iphone/android.

Research push/streaming API's to allow this to happen performantly. Perhaps the bayeux protocol can continue to be used.

Viewr removes the last event regardless of feed size

Say <50 events are in teh feed (i.e. when you first start it before an event and there's 0) viewr when supplied with an event will 'create' an event and then 'remove' that event (because it's the last in the list).

Only remove the last event when there is >49 events in the feed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.