GithubHelp home page GithubHelp logo

oliverwehn / instacurate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from davidbauer/instacurate

0.0 1.0 0.0 4.52 MB

Search for a Twitter user to get teasers for all the links (s)he posted recently.

Home Page: http://labs.davidbauer.ch/twitter-times/

PHP 1.25% Perl 71.59% CSS 22.43% JavaScript 4.72%

instacurate's Introduction

Instacurate

Turn your Twitter timeline into a personalised news site, in an instant. Fetches links from tweets (by username, hashtag or timeline) and displays them in a discovery friendly design.

Live at www.instacurate.com

Work in progress. Please check the Issues tab to see open tasks

I'm a journalist, not a programmer. If you add some magic to the code (and I encourage you to do so), please comment more extensively that you usually would. I need to learn and understand. This project is not so much about the final product, but about getting there. Here's why.

Instacurate Demo

Latest release notes

API (working):

  • new TimeLine() - will figure out if a Twitter user is logged in and show its timeline, if no user is logged in nothing happens
  • new TimeLine('@username') - will show the timeline of another Twitter user

API (not working):

  • new TimeLine('query') - should create a Timeline given a query
  • new TimeLine('list:...') - should create a Timeline taking links of a twitter list of the logged in user

Tweaking the TimeLine:

var tl = new TimeLine();
tl.tweetsToFetch = 200; // nr of tweets it should load in the buffer
tl.minNrOfLinks = 12; // nr of links it should present in one cycle (initial load, scroll, auto-refresh)
tl.twitterMaxSearchApiRequests = 10; // rate limit of nr of twitter api requests for this timeline
tl.autoRefresh = true; // autoRefresh
tl.autoRefreshInterval = 60000; // refresh interval in milis

open TODOs: check the Issues tab to see all open tasks

auto refreshing is currently wrongly implemented. it is just taking more items from the buffer, which is wrong, it should check the Twitter API for new tweets including new links. Moreover it won't give the user any feedback that it is refreshing (which the current master does) implement the API (not working) todos, may need some changes on the app server reimplement search reimplement url-hash reimplement warning-messages the rendering-logic for the links can/should be further encapsulated. further improve OOP, this is just a first attempt

instacurate's People

Contributors

davidbauer avatar dergraf avatar backflip avatar oliverwehn avatar jackhughesweb avatar purzlbaum avatar phlipper avatar

Watchers

 avatar

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.