{"id":17259790,"url":"https://github.com/rbonghi/docker-dropbox-app","last_synced_at":"2025-07-20T07:09:16.751Z","repository":{"id":65380922,"uuid":"174956372","full_name":"rbonghi/docker-dropbox-app","owner":"rbonghi","description":":whale: A docker container for dropbox by App","archived":false,"fork":false,"pushed_at":"2025-02-23T16:44:05.000Z","size":120,"stargazers_count":23,"open_issues_count":6,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-27T20:12:12.078Z","etag":null,"topics":["backup","directories","docker","dropbox","sync","syncronization"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rbonghi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"github":"rbonghi","patreon":null,"custom":"https://paypal.me/RaffaelloBonghi"}},"created_at":"2019-03-11T08:25:47.000Z","updated_at":"2025-03-26T21:56:27.000Z","dependencies_parsed_at":"2024-01-15T17:15:48.148Z","dependency_job_id":null,"html_url":"https://github.com/rbonghi/docker-dropbox-app","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbonghi%2Fdocker-dropbox-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbonghi%2Fdocker-dropbox-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbonghi%2Fdocker-dropbox-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rbonghi%2Fdocker-dropbox-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rbonghi","download_url":"https://codeload.github.com/rbonghi/docker-dropbox-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248832893,"owners_count":21168782,"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":["backup","directories","docker","dropbox","sync","syncronization"],"created_at":"2024-10-15T07:46:10.253Z","updated_at":"2025-04-14T06:30:38.711Z","avatar_url":"https://github.com/rbonghi.png","language":"Python","funding_links":["https://github.com/sponsors/rbonghi","https://paypal.me/RaffaelloBonghi"],"categories":[],"sub_categories":[],"readme":"# docker-dropbox-app\n\n🐳 Docker synchronization container for Dropbox using a token app\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://hub.docker.com/r/rbonghi/dropbox\"\u003e\u003cimg alt=\"Docker Image Size (tag)\" src=\"https://img.shields.io/docker/image-size/rbonghi/dropbox/latest\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://hub.docker.com/r/rbonghi/dropbox\"\u003e\u003cimg alt=\"Docker Pulls\" src=\"https://img.shields.io/docker/pulls/rbonghi/dropbox\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/rbonghi/docker-dropbox-app/actions/workflows/build.yml\"\u003e\u003cimg alt=\"Build\" src=\"https://github.com/rbonghi/docker-dropbox-app/actions/workflows/build.yml/badge.svg\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/rbonghi/docker-dropbox-app/actions/workflows/github-code-scanning/codeql\"\u003e\u003cimg alt=\"CodeQL\" src=\"https://github.com/rbonghi/docker-dropbox-app/actions/workflows/github-code-scanning/codeql/badge.svg\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://twitter.com/raffaello86\"\u003e\u003cimg alt=\"Twitter Follow\" src=\"https://img.shields.io/badge/Follow-%40raffaello86-1DA1F2?logo=twitter\u0026style=social\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.instagram.com/robo.panther/\"\u003e\u003cimg alt=\"robo.panther\" src=\"https://img.shields.io/badge/Follow-robo.panther-E4405F?style=social\u0026logo=instagram\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://discord.gg/BFbuJNhYzS\"\u003e\u003cimg alt=\"Join our Discord\" src=\"https://img.shields.io/discord/1060563771048861817?color=%237289da\u0026label=discord\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nWhen your docker is ready, all files and folders will be sync in **realtime**. A watchdog check every time if a file or folder is created, deleted or modified, and will be update your dropbox folder.\n\nIf you add in your root a file `.dropboxignore` you can select witch type of file or folder you want exclude, look like your git repository.\n\n## Start with docker\n\nTo use this docker is really easy:\n\n1. Create your [App in dropbox](https://www.dropbox.com/developers/reference/getting-started#app%20console)\n2. Generated refresh token by using `init_dropbox_refreshToken.sh` script.\n3. Pull this docker\n\n```console\ndocker pull rbonghi/dropbox\n```\n\n4. Run your docker\n\n```console\ndocker run \\\n-e DROPBOX_APP_KEY=\u003cWRITE YOUR APPLICATION KEY HERE\u003e \\\n-e DROPBOX_APP_SECRET=\u003cWRITE YOUR APPLICATION SECRET HERE\u003e \\\n-e DROPBOX_REFRESH_TOKEN=\u003cWRITE YOUR REFRESH TOKEN HERE\u003e  \\\n-v \u003cFOLDER YOU WANT SYNC\u003e:/dropbox rbonghi/dropbox\n```\n\n## Start with docker-compose\n\nHow to start up the docker-dropbox app machine:\n\n1. Create your [App in dropbox](https://www.dropbox.com/developers/reference/getting-started#app%20console)\n2. Generated refresh token by using `init_dropbox_refreshToken.sh` script.\n3. Write your docker-compose.yml file or add:\n\n```yml\nversion: '3'\nservices:\n  dropbox:\n    image: rbonghi/dropbox:latest\n    environment:\n      - PYTHONUNBUFFERED=1\n      - DROPBOX_APP_KEY=\u003cWRITE YOUR APPLICATION KEY HERE\u003e\n      - DROPBOX_APP_SECRET=\u003cWRITE YOUR APPLICATION SECRET HERE\u003e\n      - DROPBOX_REFRESH_TOKEN=\u003cWRITE YOUR REFRESH TOKEN HERE\u003e\n    volumes:\n      - \u003cFOLDER YOU WANT SYNC\u003e:/dropbox\n```\n\n4. Start your docker:\n\n```console\ndocker-compose up\n```\n\n## Configuration\n\nYou have two option to run the dropboxsync:\n\n* **--inverval** [_Default:_ 10s] Interval refresh folder from Dropbox\n* **--fromLocal** Will be overwriten from your PC follder to Dropbox\n* **--fromDropbox** Will be overwriten from Dropbox to your PC folder\n* **--verbose** Show all debug messages\n\nTo select this option you can run the docker machine adding:\n\n```console\ndocker run -e DROPBOX_TOKEN=\u003cWRITE YOUR TOKEN HERE\u003e -v \u003cFOLDER YOU WANT SYNC\u003e:/dropbox dropbox --fromDropbox\n```\n\nor\n\n```yml\nversion: '3'\nservices:\n  dropbox:\n    image: rbonghi/dropbox:latest\n    command: [\"--fromDropbox\", \"-i\", \"120\"]\n    environment:\n      - PYTHONUNBUFFERED=1\n      - DROPBOX_APP_KEY=\u003cWRITE YOUR APPLICATION KEY HERE\u003e\n      - DROPBOX_APP_SECRET=\u003cWRITE YOUR APPLICATION SECRET HERE\u003e\n      - DROPBOX_REFRESH_TOKEN=\u003cWRITE YOUR REFRESH TOKEN HERE\u003e\n    volumes:\n      - \u003cFOLDER YOU WANT SYNC\u003e:/dropbox\n```\n\n## Start without docker\n\nIf you want launch this script without start a docker container:\n\n```console\npython dbsync \\ \n--rootdir \u003cROOT_FOLDER\u003e \\\n--folder \u003cDROPBOX_FOLDER\u003e \\\n--appKey \u003cWRITE YOUR APP KEY HERE\u003e \\\n--appSecret \u003cWRITE YOUR APP SECRET HERE\u003e \\\n[options]\n```\n\nFor `[options]`:\n\n* **--verbose** Show in detail all steps for each sync\n* **--fromLocal** or **--fromDropbox** Read [Configuration](#configuration)\n* **--interval** [default=60s] The Interval to sync from Dropbox in **--fromDropbox** mode\n* **--refreshToken** Set the refresh token retrieved and logged in the console at first launch or via the init_script. (This will avoid the manual acceptation step via a generated access code in the navigator)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frbonghi%2Fdocker-dropbox-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frbonghi%2Fdocker-dropbox-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frbonghi%2Fdocker-dropbox-app/lists"}