{"id":13509934,"url":"https://github.com/schnoddelbotz/amtgo","last_synced_at":"2025-04-12T09:31:46.470Z","repository":{"id":57487924,"uuid":"88198433","full_name":"schnoddelbotz/amtgo","owner":"schnoddelbotz","description":"Intel AMT / vPro mass management tool","archived":false,"fork":false,"pushed_at":"2018-08-09T09:19:54.000Z","size":1421,"stargazers_count":32,"open_issues_count":0,"forks_count":7,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-26T04:41:29.313Z","etag":null,"topics":["amt","emberjs","golang","vpro"],"latest_commit_sha":null,"homepage":"","language":"Go","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/schnoddelbotz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-13T19:17:14.000Z","updated_at":"2024-11-21T22:25:58.000Z","dependencies_parsed_at":"2022-08-29T11:22:05.892Z","dependency_job_id":null,"html_url":"https://github.com/schnoddelbotz/amtgo","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schnoddelbotz%2Famtgo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schnoddelbotz%2Famtgo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schnoddelbotz%2Famtgo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schnoddelbotz%2Famtgo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/schnoddelbotz","download_url":"https://codeload.github.com/schnoddelbotz/amtgo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248546104,"owners_count":21122253,"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":["amt","emberjs","golang","vpro"],"created_at":"2024-08-01T02:01:17.697Z","updated_at":"2025-04-12T09:31:45.912Z","avatar_url":"https://github.com/schnoddelbotz.png","language":"Go","funding_links":[],"categories":["Go","golang"],"sub_categories":[],"readme":"# amtgo [![Build Status](https://travis-ci.org/schnoddelbotz/amtgo.svg?branch=master)](https://travis-ci.org/schnoddelbotz/amtgo) [![codecov](https://codecov.io/gh/schnoddelbotz/amtgo/branch/master/graph/badge.svg)](https://codecov.io/gh/schnoddelbotz/amtgo) [![GoDoc](https://godoc.org/github.com/schnoddelbotz/amtgo/amt?status.png)](https://godoc.org/github.com/schnoddelbotz/amtgo/amt)\n\nA [golang](https://golang.org/) implementation of\n[amtc](https://github.com/schnoddelbotz/amtc) and its amtc-web GUI.\nLike amtc -- for mass remote power management and monitoring [Intel AMT](http://en.wikipedia.org/wiki/Intel_Active_Management_Technology) hosts.\n\nFeatures over amtc / amtc-web:\n\n- [x] includes amtc-web application webserver in a single binary\n- [x] instant, parallel execution of GUI-submitted tasks\n- [x] includes cron functionality for monitoring and scheduled tasks\n- [x] it finally has a command/context-sensitive `-h(elp)` command line switch\n- [x] windows binaries are available on [releases](./../../releases) page, too\n\namtgo still supports SQLite and MySQL as database back-ends.\namtc-web GUI is included 1:1 from amtc repository.\n\n## binary installation\n\nDownload the latest [release](./../../releases) for your OS.\nUnzip the download -- the zip file contains the amtgo binary.\nMove the binary to a location of your choice, e.g. `/usr/local/bin`.\nThat's all needed to run amtgo from CLI like amtc.\nYou should be able to run `amtgo -h` for help.\n\n`amtgo server` should be started up via systemd or the like.\nFind first run instructions below.\n\n### ... when using SQLite\n\n - In a terminal / CMD session, `cd` to the directory where\n   amtgo is supposed to store its SQLite database and\n   AMT password files.\n - Put your AMT password into a file, e.g. `echo 'mY$ecurePassw0rd' \u003e amtpassword.txt`\n - Type/Run `amtgo server`. Visit http://localhost:8080 to create initial\n   web site user account and log in\n\n### ... when using MySQL\n\n - Install MySQL, start it and create a database and a user for amtgo purposes.\n - Proceed like with SQLite above\n - Starting amtgo server using MySQL requires MySQL connection details.\n   They should be passed as environment variables, but can also be passed\n   as command line arguments for testing. Output excerpt from `amtgo server -h`:\n\n```\nOPTIONS:\n   --dbdriver value, -d value    Database driver: sqlite3 or mysql (default: \"sqlite3\") [$DB_DRIVER]\n   --dbfile value, -F value      SQLite database file (default: \"amtgo.db\") [$DB_FILE]\n   --dbName value, -D value      MySQL database name (default: \"amtgo\") [$DB_NAME]\n   --dbHost value, -H value      MySQL database host (default: \"localhost\") [$DB_HOST]\n   --dbUser value, -U value      MySQL database user name (default: \"amtgo\") [$DB_USER]\n   --dbPassword value, -P value  MySQL database password [$DB_PASSWORD]\n   --dbPort value, -p value      MySQL database port (default: \"3306\") [$DB_PORT]\n```\n\nFor example, to run amtgo server using mysql database `foo` on localhost as user `joe`\nusing password `1234`, run: `amtgo server -d mysql -D foo -U joe -P 1234`.\n\nFor testing purposes, you may want to run a ephemeral MySQL instance using Docker:\n\n```bash\ndocker run --rm --name amtgo-mysql \\\n  -e MYSQL_RANDOM_ROOT_PASSWORD=yes \\\n  -e MYSQL_DATABASE=amtgo \\\n  -e MYSQL_USER=amtgo \\\n  -e MYSQL_PASSWORD=1234 \\\n  -p 3306:3306 \\\n  -d mysql/mysql-server\n```\n\n## building amtgo from source\n\n```bash\n# if using Go \u003c 1.8\nexport GOPATH=/home/you/go\n\n# fetch and build amtgo\ngo get -v github.com/schnoddelbotz/amtgo\n```\n\nTo run tests, git clone the repository and run `make test` or `make coverage`.\nNote that the repository contains a pre-built amtc-web; to rebuild amtc-web\nfrom source, run `make assets`, then `make` to build amtgo itself.\n\n## status \u0026 open issues\n\namtgo is a fun project for me to get into golang -- I never was too\nhappy with amtc-web's requirement for Apache, PHP and cron...\nLike amtc, amtgo works for me (tm), but I lack long-term usage experience.\nNote that amtgo, in contrast to amtc, does not support EOI protocol but\nonly WS-MAN. For AMT versions \u003c6, you might want to stay with amtc.\n\nPlease report any [issues](./../../issues/) you encounter.\nI'm also thankful for any hints for improvement.\n\n## license\n\namtgo is published under [MIT license](LICENSE.txt).\n\nBesides golang's standard library, amtgo relies on:\n\n- [urfave/cli](https://github.com/urfave/cli) for CLI parsing\n- [mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) as SQLite driver\n- [jmoiron/sqlx](https://github.com/jmoiron/sqlx) as extensions to golang's database/sql package\n- [go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) as MySQL driver\n- [gorilla](https://github.com/gorilla) handlers, mux, securecookie \u0026 sessions for amtc-web\n- [xinsnake/go-http-digest-auth-client](https://github.com/xinsnake/go-http-digest-auth-client),\n  [tweaked](tree/master/amt/digest_auth_client) to support TLS, timeouts and certificate\n  verification for AMT.\n\nAssets (i.e. amtc-web static content and AMT commands) are included\nusing [go-bindata](https://github.com/jteeuwen/go-bindata).\nReleases for all platforms are built using [xgo](https://github.com/karalabe/xgo).\n\nPlease check [amtc-web 3rd party components](https://github.com/schnoddelbotz/amtc/blob/master/amtc-web/LICENSES-3rd-party.txt), too.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschnoddelbotz%2Famtgo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschnoddelbotz%2Famtgo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschnoddelbotz%2Famtgo/lists"}