{"id":13592156,"url":"https://github.com/ryanpetrello/vimwhisperer","last_synced_at":"2025-10-24T22:25:20.174Z","repository":{"id":188309338,"uuid":"678434802","full_name":"ryanpetrello/vimwhisperer","owner":"ryanpetrello","description":"A simple VIM plugin for AWS CodeWhisperer code completion support.","archived":false,"fork":false,"pushed_at":"2024-08-28T18:34:14.000Z","size":203,"stargazers_count":17,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-08-28T20:21:48.457Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ryanpetrello.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":"2023-08-14T14:43:52.000Z","updated_at":"2024-08-28T18:34:19.000Z","dependencies_parsed_at":"2023-08-14T21:14:44.979Z","dependency_job_id":"3143e289-4b05-43f1-a07c-9563eb8b210b","html_url":"https://github.com/ryanpetrello/vimwhisperer","commit_stats":null,"previous_names":["ryanpetrello/vimwhisperer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanpetrello%2Fvimwhisperer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanpetrello%2Fvimwhisperer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanpetrello%2Fvimwhisperer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanpetrello%2Fvimwhisperer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanpetrello","download_url":"https://codeload.github.com/ryanpetrello/vimwhisperer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223346546,"owners_count":17130459,"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":"2024-08-01T16:01:06.333Z","updated_at":"2025-10-24T22:25:15.123Z","avatar_url":"https://github.com/ryanpetrello.png","language":"Python","readme":"# vimwhisperer\n\nA simple Vim plugin for AWS CodeWhisperer code completion support.\n\n## Configuration and Authentication\n\nInstall this Python package, e.g.,\n\n```\n    ~ pip3 install --user git+https://github.com/ryanpetrello/vimwhisperer.git\n```\n\nIf necessary, set the following environment variables:\n\n```\n    ~ export VIM_AWS_SSO_START_URL='https://my-example-app.awsapps.com/start'\n    ~ export VIM_AWS_SSO_REGION='us-west-2'\n```\n\nAuthenticate for the first time using AWS IAM Identity Center:\n\n```\n    ~ python -m vimwhisperer.login\n```\n\nAn OIDC client and Bearer token will be generated, and will be cached at ``~/.vim/.aws-code-whisperer-auth`` for subsequent API calls:\n\n## Running Code Completion by Hand\n\n```python\n    ~ echo 'def read_from_s3(bucket, key):' | python -m vimwhisperer\n        import boto3\n        s3 = boto3.resource('s3')\n        obj = s3.Object(bucket, key)\n        return obj.get()['Body'].read().decode('utf-8')\n```\n\nTarget language can be specified via the ``--language`` flag.\n\n```php\n    ~ echo 'function read_from_s3($bucket, $key) {' | python -m vimwhisperer --language php\n```\n\n## Installing the Vim Plugin\n\nInstall ``vimwhisperer.vim`` using your plugin manager, and map to the leader key of your choosing, i.e.,\n\n```\n    map \u003cLeader\u003ea :silent! call CodeWhisperer()\u003cCR\u003e\n```\n\nhttps://github.com/ryanpetrello/vimwhisperer/assets/214912/66442b0f-9006-47da-86b4-53122cd9ea38\n\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanpetrello%2Fvimwhisperer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanpetrello%2Fvimwhisperer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanpetrello%2Fvimwhisperer/lists"}