{"id":23734038,"url":"https://github.com/woojiahao/baleen","last_synced_at":"2025-09-04T09:33:22.967Z","repository":{"id":54354040,"uuid":"454263095","full_name":"woojiahao/baleen","owner":"woojiahao","description":"Custom tool to migrate Trello board to Notion to help organize and manage my evergrowing Trello board","archived":false,"fork":false,"pushed_at":"2022-02-05T05:18:50.000Z","size":87,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T06:31:54.814Z","etag":null,"topics":["automation","cli","go","golang","notion","notion-api","tool","trello","trello-api"],"latest_commit_sha":null,"homepage":"","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/woojiahao.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}},"created_at":"2022-02-01T04:40:02.000Z","updated_at":"2024-02-01T03:31:17.000Z","dependencies_parsed_at":"2022-08-13T13:10:24.592Z","dependency_job_id":null,"html_url":"https://github.com/woojiahao/baleen","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/woojiahao/baleen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woojiahao%2Fbaleen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woojiahao%2Fbaleen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woojiahao%2Fbaleen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woojiahao%2Fbaleen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/woojiahao","download_url":"https://codeload.github.com/woojiahao/baleen/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woojiahao%2Fbaleen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273583402,"owners_count":25131815,"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-09-04T02:00:08.968Z","response_time":61,"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":["automation","cli","go","golang","notion","notion-api","tool","trello","trello-api"],"created_at":"2024-12-31T05:33:29.004Z","updated_at":"2025-09-04T09:33:22.642Z","avatar_url":"https://github.com/woojiahao.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# baleen\n\nCustom tool for migrating from Trello to Notion.\n\n## Installation\n\n```bash\ngit clone https://github.com/woojiahao/baleen.git\ncd baleen/\n```\n\nCreate a file `.env` at the root of the project directory with the following fields filled in:\n\n```bash\n# .env\n# Create Trello API key here: https://trello.com/app-key\nTRELLO_API_KEY=\u003c\u003e\n# Create Trello token by selecting \"Token\" in the page above\nTRELLO_TOKEN=\u003c\u003e\n# Create Notion Integration key here: https://www.notion.so/my-integrations\nNOTION_INTEGRATION_KEY=\u003c\u003e\n```\n\nRun the CLI for the available commands.\n\n```bash\ngo run cmd/main.go\n\nNAME:\n   main - A new cli application\n\nUSAGE:\n   main [global options] command [command options] [arguments...]\n\nCOMMANDS:\n   export   exports a Trello board and creates a save file (to import, use \"baleen import \u003csave path\u003e\"\n   import   imports saved cards into Notion (cards saved from \"baleen migrate\" or \"baleen export\")\n   migrate  exports a Trello board into the integrated Notion page (full flow from saving exports to importing to Notion)\n   help, h  Shows a list of commands or help for one command\n\nGLOBAL OPTIONS:\n   --board value, -b value   specify name of Trello board (default: \"Programming Bucket\")\n   --config value, -c value  specify the configuration JSON for the migration (default: \"configs/conf.json\")\n   --env value, -e value     specify the environment file hodling the API keys (default: \".env\")\n   --help, -h                show help (default: false)\n```\n\n## Motivation\n\nI started `baleen` as a personal project to migrate my evergrowing Trello board to a custom Notion workspace to host all\nof the old content.\n\nI was inspired to work on this when I had saw this error: ![Motivation](./res/motivation.png). I had somehow managed to\nnearly max out Trello's card limit - that's quite amazing!\n\n`baleen` is named after the [Baleen Whales](https://en.wikipedia.org/wiki/Baleen_whale) which embark on large migrations\nand their mouths contain baleen plates to act as filters for planktonic creatures.\n\n## Why Go?\n\nI chose Go for this project as I wanted to access both the Trello and Notion APIs hassle-free while building a CLI. I\ndid not choose to use Javascript (even though there are pre-built libraries for each API) because I want to experiment\nwith the latest Go features.\n\n## TODO\n\n### Development\n\n- [ ] Migrate any image attachments to be hosted on Google Drive and embed them into the page\n- [ ] Ignore any attachments taht start with https://docs.google.com/viewer?embedded=true\n- [ ] Add support for image attachments\n\n### Documentation\n\n- [ ] Talk about how the Notion API is incredibly nested and how certain values need to be explicitly filled in as the marshalled JSON does not include them by default\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwoojiahao%2Fbaleen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwoojiahao%2Fbaleen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwoojiahao%2Fbaleen/lists"}