{"id":37614734,"url":"https://github.com/tsitsimis/veggie","last_synced_at":"2026-01-16T10:28:54.195Z","repository":{"id":270830076,"uuid":"911586315","full_name":"tsitsimis/veggie","owner":"tsitsimis","description":"A tool to monitor and execute Celery tasks","archived":false,"fork":false,"pushed_at":"2025-03-24T22:14:38.000Z","size":329,"stargazers_count":15,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-28T12:30:38.314Z","etag":null,"topics":["celery","monitoring","python","task-management"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tsitsimis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-03T11:15:33.000Z","updated_at":"2025-10-02T11:05:31.000Z","dependencies_parsed_at":"2025-01-03T12:25:15.035Z","dependency_job_id":"0eb8fa41-4fa9-47e8-9b4f-52a46cf79116","html_url":"https://github.com/tsitsimis/veggie","commit_stats":null,"previous_names":["tsitsimis/veggie"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tsitsimis/veggie","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsitsimis%2Fveggie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsitsimis%2Fveggie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsitsimis%2Fveggie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsitsimis%2Fveggie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsitsimis","download_url":"https://codeload.github.com/tsitsimis/veggie/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsitsimis%2Fveggie/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478050,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["celery","monitoring","python","task-management"],"created_at":"2026-01-16T10:28:53.248Z","updated_at":"2026-01-16T10:28:54.185Z","avatar_url":"https://github.com/tsitsimis.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/tsitsimis/veggie/refs/heads/main/assets/logo-big.svg\" alt=\"logo\" width=200 style=\"background: white; border-radius: 50%\"/\u003e\n    \u003cdiv align=\"center\" style=\"font-size: 1.5em\"\u003eVeggie - Celery monitoring and execution\u003c/div\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Python-3.11%2B-blue\"\u003e\n    \u003cimg src=\"https://badgen.net/pypi/license/veggie\"\u003e\n    \u003ca href=\"https://pypi.org/project/veggie/\"\u003e\u003cimg src=\"https://badgen.net/pypi/v/veggie\"\u003e\u003c/a\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Framework-Celery-9cf\"\u003e\n    \u003cimg src=\"https://github.com/tsitsimis/veggie/actions/workflows/ci.yml/badge.svg\"\u003e\n\u003c/p\u003e\n\nVeggie is a web-based tool for monitoring the status of Celery tasks and starting tasks through a UI. It stores Celery events in a SQLite database but allows easy switch to another user-defined storage backend.\n\n## Installation\n```bash\npip install veggie\n```\n\n## Quickstart\nTo enable better task monitoring, add the following to your Celery application:\n```python\ncelery_app = Celery(\"myapp\")\n\ncelery_app.conf.worker_send_task_events = True  # Enables task events\ncelery_app.conf.task_send_sent_event = True  # Enables sent events\ncelery_app.conf.task_track_started = True  # Update task result state to STARTED\ncelery_app.conf.result_extended = True  # Store args and kwargs in the result\n```\n\nStart monitoring by adding the following to your Celery application or in a separate script:\n```python\nfrom veggie.monitor import CeleryMonitor\nfrom veggie.storage import SQLiteStorage\n\nos.environ[\"VEGGIE_PORT\"] = \"5000\"  # Set port for the UI and API\n\nif __name__ == \"__main__\":\n    celery_monitor = CeleryMonitor(celery_app=celery_app, storage=SQLiteStorage(path=\"events.db\")) # or any other storage class that inherits from veggie.storage.Storage\n    celery_monitor.start()\n```\n\nOpen your browser at `http://localhost:5000`:\n\nCheck the status of past and running tasks:\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/tsitsimis/veggie/refs/heads/main/assets/status.png\" width=\"100%\"/\u003e\n\u003c/p\u003e\n\nSelect a task to view its details:\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/tsitsimis/veggie/refs/heads/main/assets/event-details.png\" width=\"100%\"/\u003e\n\u003c/p\u003e\n\n\nStart a new task by entering values for its parameters through the UI:\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/tsitsimis/veggie/refs/heads/main/assets/start-task.png\" width=\"100%\"/\u003e\n\u003c/p\u003e\n\nSee the `example` folder for a full example.\n\n## REST API\nAccess the API at `http://localhost:5000/api/`\n\n## Configure your own storage backend\nAll storage implementations should inherit from the `veggie.storage.Storage` class and implement the `store_event()`, `get_events()` and `get_event_by_id()` methods. For an example, check the [SQLiteStorage](veggie/storage.py) implementation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsitsimis%2Fveggie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsitsimis%2Fveggie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsitsimis%2Fveggie/lists"}