{"id":25768449,"url":"https://github.com/nodefactoryio/hactar-daemon","last_synced_at":"2025-02-27T00:51:57.559Z","repository":{"id":117570437,"uuid":"229462923","full_name":"NodeFactoryIo/hactar-daemon","owner":"NodeFactoryIo","description":"Hactar daemon app built using Go for communication with Filecoin lotus-node.","archived":false,"fork":false,"pushed_at":"2020-10-20T13:17:50.000Z","size":139109,"stargazers_count":8,"open_issues_count":6,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-06-20T13:32:53.933Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NodeFactoryIo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-12-21T17:48:34.000Z","updated_at":"2021-03-24T17:05:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"5df82d9c-4b82-49b5-b2f7-25277560cc70","html_url":"https://github.com/NodeFactoryIo/hactar-daemon","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NodeFactoryIo%2Fhactar-daemon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NodeFactoryIo%2Fhactar-daemon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NodeFactoryIo%2Fhactar-daemon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NodeFactoryIo%2Fhactar-daemon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NodeFactoryIo","download_url":"https://codeload.github.com/NodeFactoryIo/hactar-daemon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240959077,"owners_count":19884910,"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":"2025-02-27T00:51:56.990Z","updated_at":"2025-02-27T00:51:57.553Z","avatar_url":"https://github.com/NodeFactoryIo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hactar deamon\n\n\u003e Deamon application for monitoring Filecoin nodes.\n\nThis repository contains daemon application for monitoring Filecoin nodes using [Hactar]().\n\n## Installation\nYou can download already built binaries for your platform from `builds` folder or get `hactar-daemon` golang package and build it locally. Find detailed instructions below.\n \n###  Download binaries\n\nInside the `builds` folder, you can find binaries for all supported platforms. After downloading an appropriate binary file (_in this example it is binary for Linux operating system on intel processor_) you can run daemon app with `hactar-lin-386 [command]`. \n\nMore about different _commands_ can be found in [Usage](#Usage).\n\n### Get `hactar-daemon` package\n1. Install [Golang](https://golang.org/doc/install) **1.13 or greater**\n2. Run the command below\n```\ngo get github.com/NodeFactoryIo/hactar-daemon\n```\n3. Run hactar-daemon from your Go bin directory. For linux systems it will likely be:\n```\n~/go/bin/hactar-daemon\n```\nNote that if you need to do this, you probably want to add your Go bin directory to your $PATH to make things easier!\n\n## Usage\n\nLotus username and password can be passed as flags when calling start, see [examples](#example).\n\n```\n$ hactar -h\n\nhactar-deamon is a command line interface for ....\n\nUsage:\n  hactar [command]\n\nAvailable Commands:\n  start       Starts hactar deamon app\n  token       Display lotus token\n  help        Help about any command\n  version     Show the current version of Hactar deamon app\n\nUse \"hactar [command] --help\" for more information about a command.\n```\n\n#### Example\nStarting hactar without using flags.\n```\n$ hactar start\n```\n```\nEnter lotus username: \u003e\u003e cli input \u003c\u003c\nEnter lotus password: \u003e\u003e cli input \u003c\u003c\nStarting hactar.....\n```\n\nStarting hactar with flags.\n\nYou can use `--debug` flag for more detailed information.\n\nLogin without prompt:\n```\n$ hactar start --email=user --password=pass\n```\n\n## Development\nRun daemon app with `go run main.go [command]`.\n\nMore about different _commands_ can be found in [Usage](#Usage).\n\nExpected name of the configuration file depends on `ENV` variable. For example, if you run a daemon app with `ENV=test go run main.go start`, expected config file name is `config-test.yaml`\n\n### Using remote lotus node\n\n`config.yaml` allows the use of remote API lotus node and miner worker. In that case paste their tokens in the config, default value is using `$HOMEDIR/.lotus/token` and `$HOMEDIR/.lotusstorage/token`.\n\n## License\n\nThis project is dual-licensed under Apache 2.0 and MIT terms:\n- Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n- MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\n![Hactar](hactar-logo.png)\n![Filecoin](filecoin-logo.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodefactoryio%2Fhactar-daemon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnodefactoryio%2Fhactar-daemon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodefactoryio%2Fhactar-daemon/lists"}