{"id":27083796,"url":"https://github.com/ablomer/pixels2daylio","last_synced_at":"2025-08-15T18:39:39.988Z","repository":{"id":286077045,"uuid":"960286007","full_name":"ablomer/pixels2daylio","owner":"ablomer","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-04T07:55:48.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T20:36:31.841Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/ablomer.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":"2025-04-04T07:07:03.000Z","updated_at":"2025-04-04T07:55:52.000Z","dependencies_parsed_at":"2025-04-04T08:34:19.137Z","dependency_job_id":null,"html_url":"https://github.com/ablomer/pixels2daylio","commit_stats":null,"previous_names":["ablomer/pixels2daylio"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ablomer/pixels2daylio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ablomer%2Fpixels2daylio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ablomer%2Fpixels2daylio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ablomer%2Fpixels2daylio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ablomer%2Fpixels2daylio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ablomer","download_url":"https://codeload.github.com/ablomer/pixels2daylio/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ablomer%2Fpixels2daylio/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270614558,"owners_count":24616730,"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-15T02:00:12.559Z","response_time":110,"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-06T03:19:17.846Z","updated_at":"2025-08-15T18:39:39.970Z","avatar_url":"https://github.com/ablomer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pixels to Daylio Backup Merge\n\nA Python tool to merge Pixels app backup file into existing Daylio backup file.\n\n## Features\n\n- Merge Pixels backup file into Daylio backup file\n- Support for tag mapping between Pixels and Daylio\n- Automatically adds tags based on keywords in notes\n\n## Prerequisites\n\n- Python 3.x\n- Required Python packages:\n  - None (uses standard library only)\n\n## Usage\n\n### 1. Decode Daylio Backup\n\nFirst, decode your Daylio backup file into a readable JSON format:\n\n```bash\npython decode_backup.py your_backup.daylio -o decoded_daylio.json\n```\n\n### 2. Merge Pixels Backup\n\nMerge your Pixels backup into the decoded Daylio backup:\n\n```bash\npython merge_backups.py pixels_backup.json decoded_daylio.json -o merged_backup.json\n```\n\n### 3. Encode Back to Daylio Format\n\nEncode the merged backup back into Daylio format:\n\n```bash\npython encode_backup.py merged_backup.json -o final_backup.daylio\n```\n\n### Optional: Format JSON Files\n\nTo make the JSON files more readable, you can use the format script:\n\n```bash\npython format_json.py input.json -o formatted.json\n```\n\n## Tag Mapping\n\nThe tool supports mapping Pixels tags to Daylio tags using a CSV file (`tag_mappings.csv`). The format should be:\n\n```csv\npixels_tag,daylio_tag\n```\n\nFor example:\n```csv\npixels_tag,daylio_tag\nWork,Job\nExercise,Sports\n```\n\n### Keyword Mappings\n\nCreate a `keyword_mappings.csv` file to automatically add tags based on note content:\n```csv\nkeyword,daylio_tag\nwork,Work\ngym,Exercise\n```\n\n## File Structure\n\n- `decode_backup.py`: Decodes Daylio backup files\n- `merge_backups.py`: Merges Pixels backup into Daylio format\n- `encode_backup.py`: Encodes JSON back into Daylio backup format\n- `format_json.py`: Formats JSON files for better readability\n- `tag_mappings.csv`: Maps Pixels tags to Daylio tags\n- `keyword_mappings.csv`: Maps note keywords to Daylio tags\n\n## Notes\n\n- The tool preserves mood ratings, notes, and tags\n- Newline characters in notes are converted to HTML line breaks\n- All entries are set to 10 PM by default (Daylio's example time)\n- The tool maintains the original Daylio backup structure while adding new entries\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fablomer%2Fpixels2daylio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fablomer%2Fpixels2daylio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fablomer%2Fpixels2daylio/lists"}