projector

command module
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2025 License: MIT Imports: 12 Imported by: 0

README ยถ

Projector

A CLI application for project and action management with a modern terminal UI.

Features

  • ๐Ÿ“‹ Action Management: Create, track, and manage your daily actions
  • ๐Ÿ“ Project Organization: Group actions by projects
  • ๐Ÿ”„ Repeating Actions: Set up recurring tasks with custom intervals
  • ๐Ÿท๏ธ Status Tracking: Mark actions as todo or done
  • ๐Ÿ“ Notes & Due Dates: Add context and deadlines to your actions
  • ๐ŸŒ REST API: Full HTTP API for integration with other tools
  • ๐ŸŽจ Beautiful UI: Modern terminal interface built with Bubble Tea

Installation

brew install joelgrimberg/tap/projector
From Source
git clone https://github.com/joelgrimberg/projector.git
cd projector
go install

Quick Start

  1. Initialize the database:

    projector init
    
  2. Start the application:

    projector
    
  3. Create your first action:

    curl -X PUT http://localhost:8080/api/actions \
      -H "Content-Type: application/json" \
      -d '{"name": "Write documentation", "status_id": 1}'
    

Usage

Commands
  • projector - Start the API server and display actions
  • projector init - Initialize the database and create tables
  • projector migrate - Run database migrations
  • projector --verbose - Enable verbose output
API Endpoints
  • GET /api/actions - List all actions
  • PUT /api/actions - Create new action
  • GET /api/actions/:id - Get action by ID
  • PUT /api/actions/:id - Mark action as done
  • DELETE /api/actions/:id - Delete action
  • GET /api/projects - List all projects
  • PUT /api/projects - Create new project
  • GET /api/projects/:id - Get project by ID
  • DELETE /api/projects/:id - Delete project
  • GET /health - Health check

Configuration

The application uses SQLite for data storage. The database file is created automatically in the current directory as database.sqlite.

Development

Prerequisites
  • Go 1.24.5 or later
  • SQLite3
Building
go build -o projector
Running Tests
go test ./...

License

MIT License - see LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Documentation ยถ

The Go Gopher

There is no documentation for this package.

Directories ยถ

Path Synopsis

Jump to

Keyboard shortcuts

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