{"id":49896928,"url":"https://github.com/0kaba0hub/ox-migration-tools","last_synced_at":"2026-05-16T00:28:13.324Z","repository":{"id":355012797,"uuid":"1010723297","full_name":"0kaba0hub/ox-migration-tools","owner":"0kaba0hub","description":"Shell script to export calendar, contacts and tasks from Open-Xchange AppSuite via HTTP API. Supports app passwords.","archived":false,"fork":false,"pushed_at":"2026-05-01T11:30:25.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-01T13:23:30.462Z","etag":null,"topics":["backup","caldav","carddav","migration","open-xchange","shell"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/0kaba0hub.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-29T17:09:47.000Z","updated_at":"2026-05-01T11:30:29.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/0kaba0hub/ox-migration-tools","commit_stats":null,"previous_names":["0kaba0hub/ox-migration-tools"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/0kaba0hub/ox-migration-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0kaba0hub%2Fox-migration-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0kaba0hub%2Fox-migration-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0kaba0hub%2Fox-migration-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0kaba0hub%2Fox-migration-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0kaba0hub","download_url":"https://codeload.github.com/0kaba0hub/ox-migration-tools/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0kaba0hub%2Fox-migration-tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33085695,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T20:25:35.270Z","status":"ssl_error","status_checked_at":"2026-05-15T20:25:34.732Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","caldav","carddav","migration","open-xchange","shell"],"created_at":"2026-05-16T00:28:12.698Z","updated_at":"2026-05-16T00:28:13.312Z","avatar_url":"https://github.com/0kaba0hub.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ox-migration-tools\n\n[![License: GPL-3.0](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](LICENSE)\n\nShell script that exports calendar, contacts and tasks from an **Open-Xchange AppSuite** instance via its HTTP API. Outputs standard iCalendar (`.ics`) and vCard (`.vcf`) files compatible with any CalDAV/CardDAV client, Google Workspace, Nextcloud, and similar platforms.\n\n---\n\n## Requirements\n\n- `curl`\n- `jq`\n\n---\n\n## Usage\n\n```sh\n./ox_http_api_dataextract.sh -t {tasks|calendar|contacts|all} [serverurl] [user] [password]\n```\n\n| Argument | Description |\n|:---------|:------------|\n| `-t TYPE` | Data type to export: `tasks`, `calendar`, `contacts`, or `all` |\n| `serverurl` | OX AppSuite base URL, e.g. `https://ox.example.com` |\n| `user` | Login username (usually email) |\n| `password` | Account password or app password |\n\nPositional arguments are optional — credentials can be set directly in the script (see [Configuration](#configuration)).\n\n---\n\n## Output formats\n\n| Type | Format | Import target |\n|:-----|:-------|:--------------|\n| `calendar` | iCalendar (`.ics`) | Google Calendar, Nextcloud, Apple Calendar |\n| `tasks` | iCalendar (`.ics`) | Nextcloud Tasks, Thunderbird |\n| `contacts` | vCard (`.vcf`) | Google Contacts, Nextcloud, Apple Contacts |\n\n---\n\n## Examples\n\n```bash\n# Export all data using credentials from the script\n./ox_http_api_dataextract.sh -t all\n\n# Export only contacts, save to file\n./ox_http_api_dataextract.sh -t contacts https://ox.example.com user@example.com mypassword \u003e contacts.vcf\n\n# Export calendar with app password\n./ox_http_api_dataextract.sh -t calendar https://ox.example.com user@example.com app-password-here \u003e calendar.ics\n\n# Export everything, save each type separately\n./ox_http_api_dataextract.sh -t tasks   https://ox.example.com user@example.com pass \u003e tasks.ics\n./ox_http_api_dataextract.sh -t calendar https://ox.example.com user@example.com pass \u003e calendar.ics\n./ox_http_api_dataextract.sh -t contacts https://ox.example.com user@example.com pass \u003e contacts.vcf\n```\n\n---\n\n## Configuration\n\nOpen `ox_http_api_dataextract.sh` and set the defaults at the top of the file:\n\n```bash\nSERVER=https://example.ox.io     # OX AppSuite base URL\nUSER=\"user@domain.com\"           # Login username\nPASSWORD=\"CHANGE_ME\"             # Password or app password\n```\n\nThese values are overridden if you pass positional arguments on the command line.\n\n\u003e **Note:** The script uses `-k` with curl, which disables SSL certificate verification. This is intentional for environments with self-signed certificates. Remove it if your server has a valid public certificate.\n\n---\n\n## App passwords\n\nIf the OX AppSuite account has two-factor authentication or external app access restrictions, generate an **app password** in the account security settings and use it in place of the main password. App passwords work as long as the account has export permissions enabled by the administrator.\n\n---\n\n## License\n\n[GPL-3.0](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0kaba0hub%2Fox-migration-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0kaba0hub%2Fox-migration-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0kaba0hub%2Fox-migration-tools/lists"}