Giter Club home page Giter Club logo

thinktank's Introduction

ThinkTank

ThinkTank is an installable web application that helps you answer your questions by giving you insight into conversations on social networks. ThinkTank does this by capturing and organizing replies to status updates on social networks like Twitter and (soon) Facebook. See screenshots and more at http://thinktankapp.com.

ThinkTank is sponsored by Expert Labs, led by Gina Trapani, and used to be named Twitalytic.

WARNING: Pre-alpha code, PROCEED AT YOUR OWN RISK!

This is not production code. This is a pre-alpha web application. The intended audience is server administrators with experience installing and troubleshooting PHP/MySQL hosted web applications. While ThinkTank uses OAuth to access Twitter, the webapp’s login is not as secure as it should be. Right now this code is for experimentation and tinkering only. Do not run on a public, production server. You have been warned.

INSTALL

In future versions, this will get easier.

System Requirements

  • PHP 5 with cURL and GD enabled
  • Smarty
  • MySQL 5
  • A public web server. (Twitter authorization requires a public callback URL, so you’ll need to expose a local dev server to the internet for initial authorization; after that the server doesn’t have to be publicly available.)

Install application files

  • Download source code. Save the thinktank directory one level above your web site’s DocumentRoot. For example, if your site’s DocumentRoot is
    /var/www/vhosts/example.com/httpdocs/
    Put the thinktank directory here:
    /var/www/vhosts/example.com/thinktank/
  • Create a symbolic link to the thinktank/webapp directory in your site’s DocumentRoot folder. To do so, cd to the DocumentRoot, and use the command:
    ln -s ../thinktank/webapp/ thinktank
  • Make the following directories writable by the web server:
    thinktank/webapp/templates_c/
    thinktank/webapp/templates_c/cache/
    thinktank/crawler/logs/
  • Note for upgraders: If you’re upgrading a previous installation, delete your cookies (in Firefox under Preferences / Privacy / delete individual cookies).

Set up database

  • Create a database and select it, i.e., CREATE DATABASE thinktank
  • Build tables with thinktank/sql/build-db_mysql.sql

Register your app with Twitter (for OAuth support)

  • Log into Twitter and register your ThinkTank instance. Set the callback URL to
    http://yourserver.com/path-to-thinktank-webapp/account/oauth.php
    Write down the items labeled “Consumer key” and “Consumer secret.”

Configure the app

  • Shared libraries: Rename thinktank/common/config.sample.inc.php to config.inc.php. Add your database credentials, file and webapp paths, and the key/secret you got from Twitter in the previous step.
  • Crawler: Rename thinktank/crawler/config.crawler.sample.inc.php to config.crawler.inc.php and set include path to the absolute location of thintank/common
  • Webapp: Rename thinktank/webapp/config.webapp.sample.inc.php to config.webapp.inc.php and set include path to the absolute location of thinktank/common

RUN

Visit the web application on your server, register and log in, and set up your Twitter accounts.

Then, run the crawler to load your Twitter data:

$ php crawler/crawl.php

To view what’s going on with the crawler, use this command:

$ tail -f crawler/logs/crawler.log

Cron the crawler’s run command to go at least once an hour. Hint: you may configure and cron this pre-fab bash script, which will run the crawler and rotate its logs:

/thinktank/extras/cron/cron

See the script’s README for more information on configuring it.

SUPPORT AND MORE INFORMATION

To discuss ThinkTank, post to the project mailing list. For deeper documentation, see the ThinkTank wiki.

LICENSE

ThinkTank’s source code is licensed under the GNU General Public License, except for Twitter OAuth by Abraham Williams, which is released under the MIT license.

CREDITS

Social icons provided by Function

thinktank's People

Contributors

ginatrapani avatar j883376 avatar jmcpheron avatar cvi avatar anildash avatar crafty184 avatar is0dvil avatar

Stargazers

 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.