{"id":13524990,"url":"https://github.com/ianbarber/Yourls-SimpleDB-Clickqueue","last_synced_at":"2025-04-01T04:30:37.550Z","repository":{"id":138478063,"uuid":"4358465","full_name":"ianbarber/Yourls-SimpleDB-Clickqueue","owner":"ianbarber","description":"A YouRLS plugin for using SimpleDB as a buffer for incoming YouRLs clicks","archived":false,"fork":false,"pushed_at":"2012-05-17T13:03:01.000Z","size":96,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-02T06:17:11.479Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ianbarber.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-05-17T13:00:30.000Z","updated_at":"2017-04-15T10:57:52.000Z","dependencies_parsed_at":"2023-03-11T08:41:33.369Z","dependency_job_id":null,"html_url":"https://github.com/ianbarber/Yourls-SimpleDB-Clickqueue","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianbarber%2FYourls-SimpleDB-Clickqueue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianbarber%2FYourls-SimpleDB-Clickqueue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianbarber%2FYourls-SimpleDB-Clickqueue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianbarber%2FYourls-SimpleDB-Clickqueue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ianbarber","download_url":"https://codeload.github.com/ianbarber/Yourls-SimpleDB-Clickqueue/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222698196,"owners_count":17024878,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T06:01:15.148Z","updated_at":"2024-11-02T09:30:39.457Z","avatar_url":"https://github.com/ianbarber.png","language":"PHP","funding_links":[],"categories":["Plugins"],"sub_categories":["S"],"readme":"A [YouRLs](http://yourls.org/) plugin to queue clicks to Amazon SimpleDB before processing. This allows using a regular MySQL store even in the face of a high frequency of writes, without concern of connection limit overflow. Clicks are inserted later into the database via an import job.\n\nInstall\n=======\n\nEnsure that the AWS PHP Client is installed: http://aws.amazon.com/sdkforphp/\n\nTo install the plugin itself copy the plugins/sdblog folder to your plugins folder (usually user/plugins).\n\nConfiguration\n=======\n\nTo access SimpleDB you will need to include your AWS key and secret key, available from the AWS console. These should be defined in your YouRLs config.php\n\n    define('AWS_KEY', 'KEY_GOES_HERE');\n    define('AWS_SECRET_KEY', 'SECRET_KEY_HERE');\n    \nYou can additionally define the region to run in and the domain (database name) for SimpleDB with the following parameters: \n\n    define('SDB_REGION', AmazonSDB::REGION_EU_W1);\n    define('SDB_DOMAIN', 'myqueuetable');\n    \nUsage\n======\n\nThe plugin will automatically shunt clicks onto a SimpleDB call. At appropriate points you are \nrequired to run the import.php script in order to pull the click data into the main YouRLS database\nfor use in generating statistics. This can be done from a cron script, for example\n\n    */5 * * * * php /var/www/user/plugins/sdblog/import.php 2\u003e\u00261 /dev/null\n    \nThe timing of the script will depend on your need for accuracy in statistics versus tolerance for database writes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fianbarber%2FYourls-SimpleDB-Clickqueue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fianbarber%2FYourls-SimpleDB-Clickqueue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fianbarber%2FYourls-SimpleDB-Clickqueue/lists"}