• This repository has been archived on 29/Apr/2021
  • Stars
    star
    1,029
  • Rank 44,567 (Top 0.9 %)
  • Language
    HTML
  • License
    MIT License
  • Created about 12 years ago
  • Updated over 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An open source Buffer app clone

Circular

An open source Buffer app built on Backbone, Bootstrap and MongoDB

http://circular.io


Circular is built as a Backbone.js application that communicates with a MongoDB datastore through a REST API written in PHP.

The server part, based on the Silex PHP micro-framework and the Mongovel wrapper to MongoDB, is intended to be the dumbest possible, i.e. we tried to put most "intelligence" in the Backbone app, not in the API. (For example, the API only takes UNIX timestamps and posts' content, while the Backbone app computes the scheduled timestamps).

A daemon based on PHP-Daemon then runs in the background and is responsible for sending your posts to Twitter when they're due.

Installation


Prerequisites:

Installation:

  • Make sure you cloned this repo recursively, i.e. with submodules that are in extlib
  • Create a new Twitter application on dev.twitter.com, then copy your credentials into api/config.php.sample and rename it to api/config.php
    • Make sure to specify an OAuth callback URL in your Twitter application settings. Use http://[server_name]/[path to buffer]/api/oauth.php
  • Install the Silex application dependencies using Composer: cd api && composer install
  • Create an uploads directory and make it writable by the Web server
  • Your application's frontend should now be accessible where you set it up, for instance at http://localhost/Circular. The MongoDB datastore's name will be circular (you don't have to explicitly create it).
  • Start the daemon with php Daemon/run.php
    • Use option -d to run as daemon, i.e. detach and run in the background
    • Your daemon's log will be in /var/log/daemons/circular, or if this is not writable, in Daemon/logs. You can use/rotate this log to monitor your daemon.
  • That's it!

License


More Repositories

1

epub

node.js epub reader
JavaScript
334
star
2

meteoric.sh

Deploy Meteor apps to EC2 (or your own server)
Shell
213
star
3

iso3166

ISO 3166-1 alpha-2 mapping
PHP
64
star
4

mongovel

A Laravel-ish wrapper to the PHP Mongo driver
PHP
33
star
5

laravel-oauth2-server

Demo integration of Brent Shaffer's oauth2-server-php into Laravel 4
PHP
28
star
6

annotator-php

Annotator store built on Silex and MongoDB
PHP
15
star
7

trainer-proposal

Python
13
star
8

topsites

Alexa Top Sites API
PHP
6
star
9

deepnoop

Noop object with arbitrary number of nested attributes that are also noop.
JavaScript
6
star
10

PageRank-Fast

PageRank extension for Google Chrome. Fast and simple.
JavaScript
5
star
11

arxiv-to-hf

Chrome extension to add a link from each Arxiv page to the corresponding HF Paper page
JavaScript
5
star
12

snapchat-lensstudio

4
star
13

Pinterest-Button-Javascript

Pinterest's Javascripts, beautified and stored for historical reference
JavaScript
4
star
14

ios11nlp-benchmark

Perl
4
star
15

tagger-http

Basic HTTP server for Tagger Named Entity Recognizer
Python
3
star
16

coreml-protobuf-parser

Protobuf bindings for ML model formats, inspired by netron
JavaScript
3
star
17

neuralconvo-data

2
star
18

mp4-convert

JavaScript
2
star
19

lofos

2
star
20

epubserver

Go
2
star
21

MammouthApp

A very simple productivity app for Mac OS X Lion
Objective-C
2
star
22

taxrates

PHP
1
star
23

conferencer

A package to easily set-up conference-like websites
PHP
1
star
24

MongoValidator

Adds support for the `unique` and `exists` Laravel validation rules for MongoDB.
PHP
1
star
25

masterofcoin

Turn Stripe Webhook events into Hipchat messages
CSS
1
star
26

flat-huggingface

TypeScript
1
star
27

oauth2-example-auth-server

An example OAuth 2.0 auth server
PHP
1
star
28

TrackUnfollowers

Track who unfollows you on Twitter
1
star
29

Tampon

Tampon is now Circular
1
star
30

AssetFixture

Swift
1
star
31

ScrollTest

Testing basic Phonegap WebView scrolling behavior
JavaScript
1
star
32

SimpleResize

Simple Composer port of Jarrod Oberto's Image Resizing class
1
star
33

Statusnet-Annotations

Plugin to do Twitter-style Annotations (arbitrary custom semantic metadata that can be attached to notices) in StatusNet
1
star
34

mongo-php-daemon-bug

Small set-up demonstrating a bug in PHP Mongo driver
1
star