{"id":17118912,"url":"https://github.com/chyroc/github2dropbox","last_synced_at":"2025-04-13T04:40:48.169Z","repository":{"id":42773351,"uuid":"463131825","full_name":"chyroc/github2dropbox","owner":"chyroc","description":"Backup GitHub Data to DropBox","archived":false,"fork":false,"pushed_at":"2022-12-05T09:25:04.000Z","size":94,"stargazers_count":8,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T21:37:53.577Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chyroc.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":"2022-02-24T12:01:13.000Z","updated_at":"2024-07-03T15:25:57.000Z","dependencies_parsed_at":"2023-01-11T17:22:15.761Z","dependency_job_id":null,"html_url":"https://github.com/chyroc/github2dropbox","commit_stats":{"total_commits":28,"total_committers":2,"mean_commits":14.0,"dds":0.0357142857142857,"last_synced_commit":"5100130d74eb77f926b7bdf999d2b2a8594cd068"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chyroc%2Fgithub2dropbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chyroc%2Fgithub2dropbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chyroc%2Fgithub2dropbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chyroc%2Fgithub2dropbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chyroc","download_url":"https://codeload.github.com/chyroc/github2dropbox/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248665782,"owners_count":21142122,"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-14T17:55:44.945Z","updated_at":"2025-04-13T04:40:48.151Z","avatar_url":"https://github.com/chyroc.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github2dropbox\n\nBackup GitHub Data to DropBox: [View on Marketplace](https://github.com/marketplace/actions/github2dropbox)\n\nSupport:\n\n- Star\n- Follower\n- Following\n- Repo\n- Issue\n- Issue Comment\n- Gist\n- .git\n\n## Usage\n\n### 1. Create a new repository to run backup action\n\n### 2. Get the access token from [DropBox](https://www.dropbox.com/developers/apps)\n\n- 2.1 Create a new app\n- 2.2 Add permission\n  - files.metadata.write\n  - files.content.write\n  - and then submit the change.\n- 2.3 Set Access token expiration to No-Expiration\n- 2.4 Click Generate Access Token\n  - and copy the access token.\n\n### 3. Generate the access token from [Personal Access Token](https://github.com/settings/tokens)\n\n- 3.1 Expiration: No-Expiration\n- 3.2 Choose ALL Permissions\n\n### 4. Config the backup action\n\nadd file: `.github/workflows/github-backup.yml` to your project\n\n```yaml\nname: github-backup\n\non:\n  push:\n    branches: [ master ] # trigger on pushes to master\n  pull_request: # trigger on pull requests\n\njobs:\n\n  run:\n    runs-on: ubuntu-latest\n    timeout-minutes: 60 # timeout after 60 minutes\n    steps:\n      - name: Backup\n        uses: chyroc/github2dropbox@v0.4.0\n        with:\n          DROPBOX_TOKEN: ${{ secrets.DROPBOX_TOKEN }} # dropbox token\n          GITHUB_TOKEN: ${{ secrets.G_TOKEN }} # github token\n          ENABLE_REPO: true # enable repo backup\n          ENABLE_STAR: true # enable star backup\n          ENABLE_FOLLOWER: true # enable follower backup\n          ENABLE_FOLLOWING: true # enable following backup\n          ENABLE_GIST: true # enable gist backup\n          ENABLE_ISSUE: true # enable issue backup(need ENABLE_REPO=true)\n          ENABLE_ISSUE_COMMENT: true # enable issue comment backup(need ENABLE_REPO=true)\n          ENABLE_REPO_GIT: true # enable repo .git folder backup(need ENABLE_REPO=true)\n```\n\n## Backup File Structure\n\n```text\nGitHub/\n  \u003cusername\u003e/\n    repo/\n      \u003crepo\u003e/\n        repo.json\n        repo.zip\n        issue/\n          \u003cid\u003e/\n            \u003cid.json\u003e\n            comment/\n              \u003cid.json\u003e\n    star/\n      \u003crepo.json\u003e\n    follower/\n      \u003cuser.json\u003e\n    following/\n      \u003cuser.json\u003e\n    github2dropbox/\n      meta.json\n```\n\n## Change Log\n\n- 2022-07-18 v0.4.0\n  - Fix: check that there are no path separators in GitHub API results.\n- 2022-03-01 v0.3.0\n  - Docs: update readme\n- 2022-02-25 v0.2.0\n  - Add: support for gist, star, follower, following, git, issue and issue comment\n- 2022-02-24 v0.1.0\n  - Initial release\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchyroc%2Fgithub2dropbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchyroc%2Fgithub2dropbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchyroc%2Fgithub2dropbox/lists"}