{"id":25895680,"url":"https://github.com/chicunic/pdf-date-fixer","last_synced_at":"2025-03-02T22:32:25.061Z","repository":{"id":279749515,"uuid":"939717542","full_name":"chicunic/pdf-date-fixer","owner":"chicunic","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-27T07:02:54.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-27T09:42:54.770Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chicunic.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}},"created_at":"2025-02-27T01:48:02.000Z","updated_at":"2025-02-27T07:02:57.000Z","dependencies_parsed_at":"2025-02-27T09:42:58.564Z","dependency_job_id":"2868c193-0982-4fc2-907e-4828414b4a8f","html_url":"https://github.com/chicunic/pdf-date-fixer","commit_stats":null,"previous_names":["chicunic/pdf-date-fixer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chicunic%2Fpdf-date-fixer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chicunic%2Fpdf-date-fixer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chicunic%2Fpdf-date-fixer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chicunic%2Fpdf-date-fixer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chicunic","download_url":"https://codeload.github.com/chicunic/pdf-date-fixer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241582515,"owners_count":19985845,"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-03-02T22:32:24.481Z","updated_at":"2025-03-02T22:32:25.046Z","avatar_url":"https://github.com/chicunic.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PDF Date Fixer\n\nPDF Date Fixer is a macOS application designed for Apple Silicon devices that extracts text from PDF files using a Swift-based parser and organizes them based on extracted content.\n\n## Project Structure\n\n```\npdf-date-fixer/\n├── main.go\n├── libs/\n│   ├── libPDFParser.a       # Compiled static library\n│   ├── PDFParser.h          # Header file for integration\n│   └── PDFParser.swift      # Swift source file (optional, for recompilation)\n├── pdfs/\n│   └── filename.pdf          # Sample PDF file\n```\n\n## Prerequisites\n\n- macOS (Apple Silicon)\n- Go 1.20 or later\n- Xcode Command Line Tools\n\n## Compiling the Swift Library\n\nIf you need to recompile `libPDFParser.a`, use the following command:\n\n```sh\nswiftc -emit-library -static -target arm64-apple-macos12.0 -module-name PDFParser -o libs/libPDFParser.a libs/PDFParser.swift\n```\n\n## Building and Running the Project\n\nTo run the Go program, use:\n\n```sh\ngo run main.go pdfs/filename.pdf\n```\n\nTo build an executable:\n\n```sh\ngo build -o pdf-date-fixer main.go\n```\n\nThen execute:\n\n```sh\n./pdf-date-fixer pdfs/filename.pdf\n```\n\n## Error Handling\n\n- If the program is not running on an Apple Silicon macOS device, it will terminate with an error.\n- Ensure `libPDFParser.a` and `PDFParser.h` are correctly placed in the `libs/` directory before running the program.\n\n## License\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchicunic%2Fpdf-date-fixer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchicunic%2Fpdf-date-fixer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchicunic%2Fpdf-date-fixer/lists"}