{"id":23654375,"url":"https://github.com/lukesthl/bitwarden-env-sync","last_synced_at":"2026-04-24T11:38:07.772Z","repository":{"id":269640934,"uuid":"907768775","full_name":"lukesthl/bitwarden-env-sync","owner":"lukesthl","description":"A CLI tool to sync environment files with Bitwarden secure notes.","archived":false,"fork":false,"pushed_at":"2025-01-20T12:59:57.000Z","size":29830,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-12T02:59:19.477Z","etag":null,"topics":["bitwarden","bun","cli","environment"],"latest_commit_sha":null,"homepage":"","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/lukesthl.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,"zenodo":null}},"created_at":"2024-12-24T10:44:38.000Z","updated_at":"2025-01-20T12:57:28.000Z","dependencies_parsed_at":"2024-12-25T04:54:45.536Z","dependency_job_id":"03910e6a-daf5-4d3d-a20e-9c7d6d520f72","html_url":"https://github.com/lukesthl/bitwarden-env-sync","commit_stats":null,"previous_names":["lukesthl/bitwarden-env-sync"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/lukesthl/bitwarden-env-sync","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukesthl%2Fbitwarden-env-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukesthl%2Fbitwarden-env-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukesthl%2Fbitwarden-env-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukesthl%2Fbitwarden-env-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lukesthl","download_url":"https://codeload.github.com/lukesthl/bitwarden-env-sync/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukesthl%2Fbitwarden-env-sync/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260920084,"owners_count":23082897,"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":["bitwarden","bun","cli","environment"],"created_at":"2024-12-28T18:59:15.580Z","updated_at":"2026-04-24T11:38:02.711Z","avatar_url":"https://github.com/lukesthl.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bitwarden-env-sync\n\nA CLI tool to sync environment files with Bitwarden secure notes.\n\n## Installation \u0026 Usage\n\n### Option 1: Run from source\n\n1. Install dependencies:\n\n```bash\nbun install\n```\n\n2. Run the CLI:\n\n```bash\nbun run src/index.ts\n```\n\n### Option 2: Use pre-built binary\n\n1. Download the latest `bw-env-sync` binary from the [Releases](https://github.com/lukesthl/bitwarden-env-sync/releases) page\n2. Make it executable:\n\n```bash\nchmod +x bw-env-sync\n```\n\n3. Run the CLI:\n\n```bash\n./bw-env-sync\n```\n\n## Configuration\n\n### Self-hosted Bitwarden Server\n\nIf you're using a self-hosted Bitwarden server, you need to configure the server URL before using the CLI:\n\n```bash\n# Verify the configuration\nbw config server https://your-bitwarden-server.com\n```\n\n## Features\n\n- Syncs environment files to Bitwarden secure notes\n- Supports glob patterns for finding env files\n- Automatically updates existing entries or creates new ones\n- Organization support via `-o` or `--organization` flag\n- Compatible with self-hosted Bitwarden servers\n\n## Usage Examples\n\n1. Basic usage (will prompt for organization ID):\n\n```bash\n./bw-env-sync\n```\n\n2. Specify organization ID via flag:\n\n```bash\n./bw-env-sync --organization=YOUR_ORG_ID\n```\n\nThe tool will:\n\n1. Prompt for your Bitwarden password\n2. Ask for a glob pattern to find env files (defaults to `**/.env*(!(.example))`)\n3. Sync all matching files to your Bitwarden vault\n\n## Development\n\nThis project uses [Bun](https://bun.sh) as its runtime. To build the binary:\n\n```bash\nbun run build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukesthl%2Fbitwarden-env-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flukesthl%2Fbitwarden-env-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukesthl%2Fbitwarden-env-sync/lists"}