{"id":19746839,"url":"https://github.com/b-ryan/farmhand-ui","last_synced_at":"2025-02-28T00:17:38.890Z","repository":{"id":62431755,"uuid":"80486060","full_name":"b-ryan/farmhand-ui","owner":"b-ryan","description":"Web interface for Farmhand","archived":false,"fork":false,"pushed_at":"2019-04-15T18:05:55.000Z","size":231,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-10T20:52:58.556Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/b-ryan/farmhand/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/b-ryan.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-31T02:52:34.000Z","updated_at":"2017-11-22T17:15:58.000Z","dependencies_parsed_at":"2022-11-01T21:00:40.982Z","dependency_job_id":null,"html_url":"https://github.com/b-ryan/farmhand-ui","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b-ryan%2Ffarmhand-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b-ryan%2Ffarmhand-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b-ryan%2Ffarmhand-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b-ryan%2Ffarmhand-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/b-ryan","download_url":"https://codeload.github.com/b-ryan/farmhand-ui/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241078406,"owners_count":19905850,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-12T02:16:02.381Z","updated_at":"2025-02-28T00:17:38.873Z","avatar_url":"https://github.com/b-ryan.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Farmhand UI\n\nFarmhand UI is a web interface for\n[Farmhand](https://github.com/b-ryan/farmhand), with features like:\n\n- See all of your queues with how many jobs are pending for each of them\n- Drop all pending jobs from your queues\n- View lists of pending, scheduled, completed, and failed jobs\n- Get details on individual jobs, like what function was called with what\n  arguments, what its status is, etc.\n\n\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n**Table of Contents**  *generated with [DocToc](https://github.com/thlorenz/doctoc)*\n\n- [Installation](#installation)\n- [Usage](#usage)\n  - [Jetty](#jetty)\n  - [HTTP Kit](#http-kit)\n- [Screenshot](#screenshot)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n## Installation\n\nLeiningen:\n\n```clojure\n[com.buckryan/farmhand-ui \"0.3.1\"]\n```\n\n## Usage\n\nThis library is meant to be use within an existing application running\nFarmhand. This is not necessary, however, and you are free to run it in a\nseparate process. For now, we will assume you are going to run it inside your\nexisting application.\n\nThe `farmhand.ui.handler` namespace contains one main function for creating a\nhandler that can be used with Jetty, HTTP Kit, etc. Here is what the basic code\nwill look like to create an app:\n\n```clojure\n(ns my.namespace\n  (:require [farmhand.core :as farmhand]\n            [farmhand.ui.handler :as farmhand-ui]))\n\n;; Start the Farmhand server before creating the handler\n(farmhand/start-server)\n\n;; Now create the handler\n(def handler (farmhand-ui/app))\n\n;; Now you need to start an HTTP server. See the notes below depending on the\n;; server you are using.\n```\n\n### Jetty\n\n```clojure\n;; Using the handler created above,\n(ring.adapter.jetty/run-jetty handler {})\n```\n\nSee more details on `run-jetty`\n[here](http://ring-clojure.github.io/ring/ring.adapter.jetty.html#var-run-jetty).\n\n### HTTP Kit\n\n```clojure\n;; Using the handler created above,\n(org.httpkit.server/run-server handler)\n```\n\nMore documentation can be found\n[here](http://www.http-kit.org/server.html#stop-server).\n\n## Screenshot\n\n![Screenshot](https://github.com/b-ryan/farmhand-ui/raw/master/preview.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb-ryan%2Ffarmhand-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fb-ryan%2Ffarmhand-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb-ryan%2Ffarmhand-ui/lists"}