{"id":24617705,"url":"https://github.com/jacoblincool/moodle-backup","last_synced_at":"2025-06-23T08:33:39.710Z","repository":{"id":65156436,"uuid":"584852651","full_name":"JacobLinCool/moodle-backup","owner":"JacobLinCool","description":"Backup Your Personal Data from Moodle.","archived":false,"fork":false,"pushed_at":"2024-01-30T10:54:16.000Z","size":240,"stargazers_count":4,"open_issues_count":5,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-16T01:49:32.787Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://moodle-backup.jacoblin.cool","language":"TypeScript","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/JacobLinCool.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}},"created_at":"2023-01-03T17:21:54.000Z","updated_at":"2024-01-31T03:11:50.000Z","dependencies_parsed_at":"2023-12-15T03:28:43.116Z","dependency_job_id":"da3d2f6d-aaae-435d-beb6-39259e432b59","html_url":"https://github.com/JacobLinCool/moodle-backup","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JacobLinCool%2Fmoodle-backup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JacobLinCool%2Fmoodle-backup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JacobLinCool%2Fmoodle-backup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JacobLinCool%2Fmoodle-backup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JacobLinCool","download_url":"https://codeload.github.com/JacobLinCool/moodle-backup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252819657,"owners_count":21809061,"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":"2025-01-24T23:40:04.499Z","updated_at":"2025-05-07T05:24:56.836Z","avatar_url":"https://github.com/JacobLinCool.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Moodle Backup\n\nBackup Your Personal Data from Moodle.\n\n![banner](images/banner.png)\n\n## Usage\n\nThere are three ways to use this tool:\n\n1. It can be used as a command line tool, simply run `moodle-backup` in your terminal.\n2. It can be used as a Node.js module, simply install `moodle-backup-core` and use it in your code.\n3. It can be used as a web app, simply run `moodle-backup-server` in your terminal, or go to [https://moodle-backup.jacoblin.cool](https://moodle-backup.jacoblin.cool) if you are a NTNU student.\n\n\u003e `pnpm` in the following instructions is a package manager, you can use `npm` or `yarn` instead.\n\n### Command Line\n\nYou can install `moodle-backup` globally by running `pnpm i -g moodle-backup`.\n\nThen you can run `moodle-backup [options] [username] [password]` in your terminal.\n\n\u003e If you do not have chrome or chromium installed, you may need to manually install it before using this tool.\n\n### Node.js Module\n\nYou can install `moodle-backup-core` by running `pnpm i moodle-backup-core`.\n\nThen you can use it in your code:\n\n```ts\nimport { Exporter } from \"moodle-backup-core\";\n\nconst exporter = new Exporter(MOODLE_URL, USERNAME, PASSWORD, OUTPUT_DIR);\nawait exporter.run();\n```\n\n### Web App\n\nYou can install `moodle-backup-server` by running `pnpm i -g moodle-backup-server`.\n\nThen you can run `moodle-backup-server` in your terminal, and go to `http://localhost:3000` in your browser.\n\nThere is also a prebuilt Docker image available at [https://hub.docker.com/r/jacoblincool/moodle-backup-server](https://hub.docker.com/r/jacoblincool/moodle-backup-server), which supports `arm64` and `amd64` architectures.\n\n\u003e You can find the supported environment variables in the [packages/server/src/config.ts](packages/server/src/config.ts)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacoblincool%2Fmoodle-backup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjacoblincool%2Fmoodle-backup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacoblincool%2Fmoodle-backup/lists"}