tui-deck

February 25, 2024 ยท View on GitHub

A TUI frontend for Nextcloud Deck app written in GO using the Rich Interactive Widgets for Terminal UIs

AUR package

image


features

  • switch between boards
  • list cards
  • edit card description, title, due date
  • move cards between stacks
  • add/remove labels from cards
  • add/edit/remove stacks
  • add/edit/remove boards
  • add/edit/remove boards labels
  • basic markdown viewer
  • assign users to card
  • comments
  • theming

markdown features

  • headings
  • task list
  • unordered list
  • blockquotes
  • code block
  • bold
  • italic
  • bold + italic
  • inline code
  • links

planned features

  • manage attachments

configuration

on first start, the application will create a default config.json file in $HOME/.config/tui-deck directory

{
  "username": "",
  "password": "",
  "url": "https://nextcloud.example.com",
  "color": "#BF40BF"
  "color": "#BF40BF",
  "insecure": false # Set to true if you're using self-signed certificates or you need to bypass certificate verification
  "configDir": "$HOME/.config/tui-deck/"
}

shortcuts

  • main

    functionkey
    TABswtich stacks
    down arrowmove down
    up arrowmove up
    right arrowmove card to next stack
    left arrowmove card to previous stack
    ENTERselect card
    sswitch board
    rreload board
    aadd card
    ddelete card
    ctrl+aadd stack
    ctrl+eedit stack
    ctrl+ddelete stack
    qquit app
    ?help
  • view card

    functionkey
    eedit card description
    ledit card labels
    uedit card users
    tedit card title
    cview comments
    ESCback to main view
  • edit card

    functionkey
    F2save card
    ESCback to view card
  • edit card labels

    functionkey
    up arrowmove up
    down arrowmove down
    TABswitch between card labels and available board labels list
    ENTERif card label has been selected, delete it. if available label has been selected, add it to card
    ESCback to view card
  • edit card users

    functionkey
    up arrowmove up
    down arrowmove down
    TABswitch between card users and available board users list
    ENTERif card user has been selected, delete it. if available user has been selected, add it to card
    ESCback to view card
  • view comments

    functionkey
    up arrowmove up
    down arrowmove down
    aadd comment
    rreply to selected comment
    eedit comment
    ddelete selected comment
    ESCback to view card
  • switch boards

    functionkey
    up arrowmove up
    down arrowmove down
    ENTERselect board
    aadd board
    eedit board
    ddelete board
    tedit board labels
    ESCback to main view
  • edit board labels

    functionkey
    up arrowmove up
    down arrowmoe down
    ENTERdelete label
    aadd label
    eedit label
    ESCback to switch boards