JSPM

afters-tui

1.0.0
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 1
    • Score
      100M100P100Q21560F
    • License MIT

    TUI for afters.am - Event ticketing platform for underground music events

    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.

    After CLI Demo

    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
    afters

    Development

    # 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 dev

    Usage

    Authentication

    After CLI supports two authentication methods:

    1. Run afters
    2. Select "Open browser (OAuth)"
    3. Authorize the app in your browser
    4. You're automatically logged in!

    Option 2: API Token

    1. Go to afters.am/b/developers
    2. Create a new API key
    3. Run afters
    4. Select "Paste API token"
    5. 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 typecheck

    Configuration

    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:

    1. Go to Settings → API URL
    2. Press d for development (http://localhost:3000)
    3. Or press p for 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