app

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Overview

Package app implements tickr's Bubble Tea TUI: a live news feed with a scrolling ticker, in-app reader, source management, search and notifications.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	// contains filtered or unexported fields
}

Model is the root Bubble Tea model.

func New

func New(cfg *config.Config, st *store.Store, paths config.Paths) (Model, error)

New builds the initial model from loaded config + an open store.

func (Model) Init

func (m Model) Init() tea.Cmd

Init starts the tickers and triggers the first fetch.

func (Model) Update

func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)

Update is the main message handler.

func (Model) View

func (m Model) View() tea.View

View renders the current screen.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址