Package Exports
- afters-tui
- afters-tui/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (afters-tui) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
After CLI
A terminal user interface (TUI) for afters.am - the event ticketing platform for underground music events.
Features
- Dashboard - Quick overview of your events, tickets sold, and revenue
- Events Management - Create, edit, publish, and manage events
- Event Editor - Full event configuration with tabs for:
- Overview (stats, quick actions)
- Details (title, description, dates)
- Venue (location, address settings)
- Tickets (tier management)
- Door (check-in, guestlist, scanners)
- Settings (event configuration)
- Guestlist Management - Add, remove, and check in guests
- Check-in Mode - Fast ticket verification and check-in
- Orders - View and filter ticket orders
- Settings - Profile and account management
- API Keys - Create and manage API keys
Installation
# Install globally from npm
npm install -g afters
# Or with pnpm
pnpm install -g afters
# Run
aftersDevelopment
# Clone the repository
git clone https://github.com/aftersapp/after-cli.git
cd after-cli
# Install dependencies
pnpm install
# Build
pnpm build
# Run in dev
pnpm devUsage
Authentication
After CLI supports two authentication methods:
Option 1: OAuth (Recommended)
- Run
afters - Select "Open browser (OAuth)"
- Authorize the app in your browser
- You're automatically logged in!
Option 2: API Token
- Go to afters.am/b/developers
- Create a new API key
- Run
afters - Select "Paste API token"
- Paste your key (starts with
aftr_)
Keyboard Navigation
| Key | Action |
|---|---|
↑ / k |
Navigate up |
↓ / j |
Navigate down |
Enter |
Select / Confirm |
Esc |
Back / Cancel |
n |
Open navigation menu |
q |
Quit |
1-5 |
Quick navigation to views |
View Shortcuts
| Key | View |
|---|---|
1 |
Dashboard |
2 |
Events |
3 |
Orders |
4 |
Settings |
5 |
API Keys |
Event Editor Tabs
| Key | Tab |
|---|---|
1 / o |
Overview |
2 / d |
Details |
3 / v |
Venue |
4 / t |
Tickets |
5 / g |
Door |
6 / s |
Settings |
Development
# Run in development mode
pnpm dev
# Type check
pnpm typecheckConfiguration
Configuration is stored in ~/.config/afters-nodejs/config.json:
{
"apiUrl": "https://afters.am",
"auth": {
"type": "oauth",
"accessToken": "...",
"refreshToken": "...",
"expiresAt": 1234567890
}
}API URL
To use with a local development server:
- Go to Settings → API URL
- Press
dfor development (http://localhost:3000) - Or press
pfor production (https://afters.am)
Tech Stack
- TypeScript - Type-safe development
- Ink - React for CLI applications
- chalk - Terminal colors
- gradient-string - Gradient text effects
- conf - Configuration management
- open - Open URLs in browser
License
MIT
Related
- afters.am - The main platform
- API Documentation - API docs