{"id":27057855,"url":"https://github.com/dumbmachine/migrate-ccextractor","last_synced_at":"2025-08-22T06:43:26.443Z","repository":{"id":96767063,"uuid":"245258026","full_name":"DumbMachine/migrate-ccextractor","owner":"DumbMachine","description":null,"archived":false,"fork":false,"pushed_at":"2020-03-11T05:45:00.000Z","size":101,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-05T11:35:20.649Z","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/DumbMachine.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-05T20:11:21.000Z","updated_at":"2020-03-11T05:45:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"d0ca3fdb-20d4-4f80-a776-b8fa8b07418d","html_url":"https://github.com/DumbMachine/migrate-ccextractor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DumbMachine/migrate-ccextractor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DumbMachine%2Fmigrate-ccextractor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DumbMachine%2Fmigrate-ccextractor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DumbMachine%2Fmigrate-ccextractor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DumbMachine%2Fmigrate-ccextractor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DumbMachine","download_url":"https://codeload.github.com/DumbMachine/migrate-ccextractor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DumbMachine%2Fmigrate-ccextractor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271599733,"owners_count":24787801,"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","status":"online","status_checked_at":"2025-08-22T02:00:08.480Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-04-05T11:33:40.522Z","updated_at":"2025-08-22T06:43:26.410Z","avatar_url":"https://github.com/DumbMachine.png","language":"PHP","readme":"# Convert Doku\nThis is a small tool to convert pages from `DokuWiki` to `FastPages`.\n\n### Requirements:\n\n- `php`, used by a script to convert pages.\n\n- `python`, used to correct the mistakes of above tool.\n\n- `python packages`, run the following:\n\n  ```bash\n  $ cd convert_doku\n  $ pip install -r requirements.txt\n  ```\n\n### Running:\n\nTo ways to run the script:\n\n- using a `url` of the `DokuWiki` page:\n\n  ```bash\n  $ cd convert_doku\n  $ python convert_doku_page.py --url \u003curl_name\u003e\n  ```\n\n- using `filename` of the `DokuWiki` page, if you have the `source` of the page in `.txt` file:\n\n  ```bash\n  $ cd convert_doku\n  $ python convert_doku_page.py --file \u003cfile_name\u003e\n  ```\n\n### Features:\n\nCurrently the tool can take care of the following:\n\n- Renaming the page to the format required by `fastpages`, i.e, `\u003clast_update_data\u003e-post_name`.\n- Handling the embedding of `youtube` pages.\n- Handling `media`, like images. This works by linking to the media on from `https://ccextractor.org/_media/{media}`.\n- Correct the mistakes of the `php` converter tool used. Big thanks to [DokuWiki-to-Markdown-Converter](https://github.com/ludoza/DokuWiki-to-Markdown-Converter). (Correct the absolute urls and relative urls by converting them to format required by `fastpages`).\n\n### TODO:\n\n- [ ] Some pages give exception because finding their last edit date is not allowed, eg private pages. ","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdumbmachine%2Fmigrate-ccextractor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdumbmachine%2Fmigrate-ccextractor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdumbmachine%2Fmigrate-ccextractor/lists"}