Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Task UI - a web based runner for Taskfile.yml

License

NotificationsYou must be signed in to change notification settings

titpetric/task-ui

Repository files navigation

Run yourTaskfile.yml from the browser.

Start the Docker image withtask docker:run.

Task UI is meant for Docker environments. A generic Dockerfile exists, whichbundles typical dependencies liketask,ttyrec,docker,docker compose.

To use, start by navigating to thedockersubfolder. It contains a Taskfile, with the typical commands to build andrun task-ui from a Docker image. For examples with Taskfiles you couldrun, look into the folderexamples.

The layout is somewhat responsive, supporting mobile.

Running

To set up your project to run with Task UI, it's recommended you use theexample Docker Compose setup here:

services:runner:image:titpetric/task-uirestart:alwaysbuild:.command:      ---history-enableports:    -3000:3000volumes:    -$PWD/app:/app    -/var/run/docker.sock:/var/run/docker.sock:ro

In particular, you should mount your/app folder which contains yourTaskfile.yml,docker-compose.yml and other files. Task UI will runwith what you provide it with.

  • If you don't want history, remove thecommand flags.
  • If you don't want to use Docker, remove the volume fordocker.sock.

The image provides anid_ecdsa key to use for SSH hops. The recommendedway to deploy is to provide your owndocker/root/.ssh folder withthe SSH keys. You can regenerate the SSH key withtask docker:gen.

Development

task: Available tasks for this project:

  • default: Run everything
  • fix: Fix code
  • install: Install task-ui
  • run: Run task-ui
  • test: Test task-ui
  • docker:build: Build task-ui docker image
  • docker:gen: Generate ssh key for docker image
  • docker:run: Run task-ui in docker env

task: default

Run everything

commands:

  • Task: fix
  • Task: install
  • Task: test

task: test

Test task-ui

commands:

  • CGO_ENABLED=1 go test -race -count=1 -cover ./...
  • CGO_ENABLED=0 go test -count=1 -cover ./...

task: run

Run task-ui

commands:

  • task-ui --history-enable

task: install

Install task-ui

commands:

  • CGO_ENABLED=0 go install .

task: fix

Fix code

dependencies:

  • deps:goimports

commands:

  • goimports -w .
  • go fmt ./...
  • go vet .
  • go mod tidy
  • ./README.md.sh > README.md

About

Task UI - a web based runner for Taskfile.yml

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp