{"id":17209436,"url":"https://github.com/jmathai/trovebox-sync","last_synced_at":"2025-03-25T11:42:19.309Z","repository":{"id":13243083,"uuid":"15927880","full_name":"jmathai/trovebox-sync","owner":"jmathai","description":null,"archived":false,"fork":false,"pushed_at":"2014-08-06T06:53:10.000Z","size":172,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-30T10:42:01.900Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jmathai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-01-15T07:17:21.000Z","updated_at":"2014-08-29T14:51:25.000Z","dependencies_parsed_at":"2022-09-16T23:51:49.558Z","dependency_job_id":null,"html_url":"https://github.com/jmathai/trovebox-sync","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/jmathai%2Ftrovebox-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmathai%2Ftrovebox-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmathai%2Ftrovebox-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmathai%2Ftrovebox-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmathai","download_url":"https://codeload.github.com/jmathai/trovebox-sync/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245458061,"owners_count":20618693,"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-10-15T02:51:36.033Z","updated_at":"2025-03-25T11:42:19.258Z","avatar_url":"https://github.com/jmathai.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Trovebox Sync\n=============\n\nStill in beta.\n\nRequirements.\n  * PHP 5.3\n  * Sqlite3\n\n## Git submodules\n\nMake sure you update the submodules\n```php\ngit submodule init\ngit submodule update\n```\n\n\n## Initialize local database\n\nCreate a database named *db.sqlite*.\n```sh\nsqlite3 db.sqlite\nsqlite\u003e .load db.sql\n```\n\n## Set up credentials\n\nCreate a file named `.secrets.json` with the following values.\n```json\n{\n  \"host\":\"your.trovebox.domain.com\",\n  \"consumerKey\":\"***************************\",\n  \"consumerSecret\":\"**********\",\n  \"token\":\"***************************\",\n  \"tokenSecret\":\"**********\",\n  \"target\":\"/path/to/local/folder/to/store/photos\"\n}\n\n```\n\n## Run the script\n\nYou can run this script as frequently as needed and it will only download new photos.\n```php\nuser# ./sync.php\n```\n\n## Not yet implemented\n\n  * Does not support deleting local files (2 way sync)\n  * Does not support updating new metadata\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmathai%2Ftrovebox-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmathai%2Ftrovebox-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmathai%2Ftrovebox-sync/lists"}