{"id":50985353,"url":"https://github.com/tux86/awssesh","last_synced_at":"2026-06-19T18:33:49.925Z","repository":{"id":329835770,"uuid":"1120775636","full_name":"tux86/awssesh","owner":"tux86","description":"SSOmatic — Auto-discover, refresh, and manage your AWS SSO credentials from the terminal or browser. Built with Bun, React, and TypeScript.","archived":false,"fork":false,"pushed_at":"2026-06-12T09:55:49.000Z","size":3600,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-12T11:09:47.108Z","etag":null,"topics":["aws","aws-sso","bun","cli","credentials","devtools","react","sso","typescript","web-ui"],"latest_commit_sha":null,"homepage":null,"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/tux86.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-21T23:11:20.000Z","updated_at":"2026-06-12T09:55:54.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/tux86/awssesh","commit_stats":null,"previous_names":["tux86/toolbox","tux86/awsume","tux86/awssesh"],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/tux86/awssesh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tux86%2Fawssesh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tux86%2Fawssesh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tux86%2Fawssesh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tux86%2Fawssesh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tux86","download_url":"https://codeload.github.com/tux86/awssesh/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tux86%2Fawssesh/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34544405,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","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":["aws","aws-sso","bun","cli","credentials","devtools","react","sso","typescript","web-ui"],"created_at":"2026-06-19T18:33:49.268Z","updated_at":"2026-06-19T18:33:49.917Z","avatar_url":"https://github.com/tux86.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# awssesh\n\nKeep your AWS SSO credentials fresh — automatically. A fast terminal dashboard that auto-refreshes your pinned profiles while it's open.\n\n[![npm version](https://img.shields.io/npm/v/awssesh)](https://www.npmjs.com/package/awssesh)\n[![CI](https://github.com/tux86/awssesh/actions/workflows/ci.yml/badge.svg)](https://github.com/tux86/awssesh/actions/workflows/ci.yml)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)\n[![Bun](https://img.shields.io/badge/Bun-%23000000.svg?logo=bun\u0026logoColor=white)](https://bun.sh)\n[![TypeScript](https://img.shields.io/badge/TypeScript-007ACC?logo=typescript\u0026logoColor=white)](https://www.typescriptlang.org/)\n\n---\n\n## Why awssesh\n\n- **k9s-style list-first dashboard** — all your SSO profiles at a glance with live expiry countdowns; navigate with j/k or arrow keys, no menus to dig through.\n- **In-process auto-refresh for ⟳ pinned profiles** — pin a profile with `a` and expiry-aware refresh keeps its credentials ready before they expire, with no fixed-interval polling waste.\n- **Notify-on-login, never surprise you** — when an interactive SSO login is required awssesh sends a desktop notification so you know to log in.\n- **One-keystroke everything** — copy `export AWS_*` vars, open the AWS console, copy the profile name, or force a refresh — all from the dashboard without leaving your terminal.\n- **Single process, clean exit** — quitting fully exits. No background processes to manage.\n\n---\n\n## Demo\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"docs/screenshots/cli-demo.gif\" alt=\"awssesh CLI Demo\" width=\"720\"\u003e\n\u003c/p\u003e\n\n---\n\n## Install\n\n```bash\n# Run without installing\nnpx awssesh\nbunx awssesh\n\n# Or install globally\nnpm install -g awssesh\n```\n\n---\n\n## Quick Start\n\n```bash\n# 1. Launch the dashboard\nawssesh\n\n# 2. Navigate to a profile and press 'a' to pin it for auto-refresh\n# 3. awssesh auto-refreshes pinned profiles while the dashboard is open\n# 4. Press 'q' to quit when done\n```\n\nWhile the dashboard is open, ⟳ pinned profiles are refreshed automatically when their credentials are close to expiry. When a browser login is required, you get a desktop notification and can log in directly from the TUI or with `awssesh refresh \u003cprofile\u003e`.\n\n---\n\n## Commands\n\n| Command | Description |\n|---------|-------------|\n| `awssesh` | Launch the interactive TUI |\n| `awssesh status` | Print profile statuses and exit |\n| `awssesh refresh [name]` | Refresh a profile (or all favorites) now |\n| `awssesh export \u003cname\u003e` | Print `export AWS_*` lines for `eval $(...)` |\n| `awssesh --version` | Print version and exit |\n\n**Shell trick — inject credentials into your current shell:**\n\n```bash\neval $(awssesh export prod)\n```\n\n---\n\n## Keyboard Shortcuts\n\n| Key | Action |\n|-----|--------|\n| `↑` / `↓` or `j` / `k` | Move cursor |\n| `Enter` | Open profile details |\n| `r` | Refresh the current profile |\n| `a` | Toggle ⟳ auto-refresh (pin/unpin) |\n| `c` | Copy `export AWS_*` to clipboard |\n| `y` | Copy profile name to clipboard |\n| `o` | Open AWS console in browser |\n| `/` | Filter profiles by name |\n| `s` | Open settings |\n| `Esc` | Back |\n| `q` | Quit |\n\n---\n\n## How Auto-Refresh Works\n\nawssesh tracks the role-credential expiry for each ⟳ pinned profile and refreshes only when the credentials are within the lead window of expiring (default: 5 minutes before expiry). No fixed interval; no wasted refreshes.\n\nWhen an interactive SSO login is needed, a desktop notification is sent (`awssesh: \u003cprofile\u003e needs login`). You authorize by logging in from the TUI or with `awssesh refresh \u003cprofile\u003e`.\n\n---\n\n## Prerequisites\n\n- [AWS CLI v2](https://aws.amazon.com/cli/) configured with SSO profiles in `~/.aws/config`\n\n---\n\n## Development\n\nRequires [Bun](https://bun.sh) \u003e= 1.0.\n\n```bash\ngit clone https://github.com/tux86/awssesh.git\ncd awssesh\nbun install\n\nbun run start    # Run from source\nbun run dev      # Run with --watch (auto-restart on changes)\nbun run build    # Build the Node CLI bundle (dist/cli.js)\nbun run lint     # Run ESLint\nbun test         # Run unit tests\n```\n\n---\n\n## Contributing\n\n- [Contributing Guide](CONTRIBUTING.md)\n- [Code of Conduct](CODE_OF_CONDUCT.md)\n- [Security Policy](SECURITY.md)\n\nUses [Conventional Commits](https://www.conventionalcommits.org/) and [release-please](https://github.com/googleapis/release-please).\n\n## License\n\n[MIT](LICENSE)\n\n---\n\n\u003cp align=\"center\"\u003e\n  Made with \u0026#10084; by \u003ca href=\"https://github.com/tux86\"\u003etux86\u003c/a\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftux86%2Fawssesh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftux86%2Fawssesh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftux86%2Fawssesh/lists"}