-
Notifications
You must be signed in to change notification settings - Fork 5
Home
links creates a community by helping it's users share content with each other.
The primary function is to find and store as man URLs as possible. The URLs can be collected from 3 different sources, IRC (logs), twitter (@mentions) and pocket (http://www.getpocket.com). For each URL found the system will attempt to find the <title>
and store it in the database. It can be configured to download images and create a thumbnail for viewing in the thumbs gallery.
This diagram shows some of the technologies used within links. It runs on a Apache/PHP/MySQL backend, the collectors are perl scripts, and the web interface is built on the twitter bootstrap UI (http://www.getboostrap.com) so it is very configurable.
This diagram shows the logical work flow of the collector scripts.
The main links page has all of the URLs that have been collected.
- If it was a web page the
<title>
will be displayed. - If an image is downloaded you will see a link to the (cache)ed copy.
- The numbered badges in the menu tell you how many new posts since the last visit.
- Use the settings to hide the cached thumbs and/or vids from this page.
The thumbs page has all of the images that have been downloaded.
- Automatic width detection using the bootstrap UI. (http://www.getbootstrap.com)
- Click an image to open it in the lightbox. (http://blueimp.github.io/Bootstrap-Image-Gallery/)
- In the lightbox swipe left/right/up/down in on tablet and mobile.
- Settings
- Add or remove the details box under the images
- Add or remove videos from this page
thumbs lightbox
The vids page has all of the videos embedded on one page.
- Supports Youtube and Vimeo
vids lightbox:
The link-up page is where you can authorize your pocket account or follow the twitter account.
-
Apache
-
MySQL
-
PHP
-
perl (Collectors)
-
perl modules
-
DBI & POSIX
-
LWP::UserAgent (LibWWW-perl)
-
URI
-
MIME::Types
-
Encode
-
File
-
Optional:
-
perl Image Magick (Image Download)
- perl File::LibMagic (better mime type detection)
-
perl Net::Telnet (Bot Chat)
-
perl Net::Twitter (Twitter Post)
-
perl NET::Amazon::S3 (Amazon S3 Storage)
- Eggdrop (tcl-devel)
- perl Net::Twitter
- perl Crypt::SSLeay
- perl WWW::Shorten::Bitly
- perl WebService::Pocket::Lite (https://github.com/kiririmode/p5-WebService-Pocket-Lite)
- perl Crypt::SSLeay