{"id":37168246,"url":"https://github.com/pepodev/autoauth","last_synced_at":"2026-01-14T19:53:19.458Z","repository":{"id":57612963,"uuid":"220931581","full_name":"PePoDev/autoauth","owner":"PePoDev","description":"Automatic Internet Portal Authentication CLI written in Go 🛰🛰","archived":true,"fork":false,"pushed_at":"2023-10-20T07:48:37.000Z","size":812,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T13:36:52.360Z","etag":null,"topics":["authentication","automation","command-line-tool","golang","hacktoberfest","made-with-love","pepodev"],"latest_commit_sha":null,"homepage":"https://pepo.dev/autoauth/","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/PePoDev.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":"2019-11-11T08:08:53.000Z","updated_at":"2024-05-05T07:33:32.000Z","dependencies_parsed_at":"2024-06-19T11:15:20.421Z","dependency_job_id":null,"html_url":"https://github.com/PePoDev/autoauth","commit_stats":{"total_commits":92,"total_committers":2,"mean_commits":46.0,"dds":"0.010869565217391353","last_synced_commit":"018898eeaa30d3dc75ae2532eaedc981db7b46ee"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/PePoDev/autoauth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PePoDev%2Fautoauth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PePoDev%2Fautoauth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PePoDev%2Fautoauth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PePoDev%2Fautoauth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PePoDev","download_url":"https://codeload.github.com/PePoDev/autoauth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PePoDev%2Fautoauth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28433441,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["authentication","automation","command-line-tool","golang","hacktoberfest","made-with-love","pepodev"],"created_at":"2026-01-14T19:53:18.548Z","updated_at":"2026-01-14T19:53:19.449Z","avatar_url":"https://github.com/PePoDev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AutoAuth\n\n![Banner](img/banner.png)\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/pepodev/autoauth)](https://goreportcard.com/report/github.com/pepodev/autoauth)\n[![GoDoc](https://godoc.org/github.com/PePoDev/autoauth?status.svg)](http://godoc.org/github.com/PePoDev/autoauth)\n[![codebeat badge](https://codebeat.co/badges/b7d3c2af-ac18-457e-9ff0-4976f11061d3)](https://codebeat.co/projects/github-com-pepodev-autoauth-master)\n[![GolangCI](https://golangci.com/badges/github.com/PePoDev/autoauth.svg)](https://golangci.com)\n[![fuzzit](https://app.fuzzit.dev/badge?org_id=pepodev-gh)](https://app.fuzzit.dev/orgs/pepodev-gh/dashboard)\n[![Build Status](https://travis-ci.com/PePoDev/autoauth.svg?branch=master)](https://travis-ci.com/PePoDev/autoauth)\n[![codecov](https://codecov.io/gh/PePoDev/autoauth/branch/master/graph/badge.svg)](https://codecov.io/gh/PePoDev/autoauth)\n[![Sourcegraph](https://sourcegraph.com/github.com/PePoDev/autoauth/-/badge.svg)](https://sourcegraph.com/github.com/PePoDev/autoauth?badge)\n[![GitHub tag](https://img.shields.io/github/tag/PePoDev/autoauth.svg)](https://github.com/PePoDev/autoauth/releases/latest)\n[![Docker Repository](https://img.shields.io/docker/cloud/build/pepodev/autoauth)](https://hub.docker.com/r/pepodev/autoauth)\n[![GitHub](https://img.shields.io/github/license/pepodev/autoauth)](https://github.com/PePoDev/autoauth/blob/master/LICENSE)\n\n**AutoAuth** is Automatic Internet Portal Authentication CLI written in Golang 🛰🛰\n\n## 📚 Table of contents\n\n- [Installation](#-installation)\n\n- [Example Preset](#-example-preset-file)\n\n- [Usage](#-cli-usage)\n\n- [Todo](#-todo)\n\n- [Dependencies](#-dependencies)\n\n- [Contributing](#️️-contributing)\n\n## ⛏ Installation\n\n### Go get\n\n```console\n~$ go get -u github.com/pepodev/autoauth\n```\n\n### Docker\n\n```console\n~$ docker run --name autoauth -d -v ${pwd}/autoauth.yml:/autoauth.yml pepodev/autoauth\n```\n\nNote: docker network need ability to access external internet\n\n### Complied binary (coming soon too)\n\nCheck [release](https://github.com/PePoDev/autoauth/releases) page to see available binary file.\n\n## 📃 Example Preset file\n\n```yml\n# Example preset file for university KMITL wifi portal\nautoauth:\n  name: KMITL\n  encrypted: false\n\n  login:\n    endpoint: https://connect.kmitl.ac.th:8445/PortalServer/Webauth/webAuthAction!login.action\n    method: POST\n    header:\n      - User-Agent:AutoAuth\n    body:\n      - userName=59050xxx@kmitl.ac.th\n      - password=s3cr3t_p@ssw0rd\n      - authLan=en\n      - validCode=200\n      - hasValidateNextUpdatePassword=true\n      - browserFlag=en\n    timeout: 5\n\n  logout:\n    endpoint: https://connect.kmitl.ac.th:8445/PortalServer/Webauth/webAuthAction!logout.action\n    method: POST\n    header:\n      - User-Agent:AutoAuth\n      - X-XSRF-TOKEN:{token}\n    timeout: 5\n\n  heartbeat:\n    endpoint: http://clients3.google.com/generate_204 # Recommended endpoint for heartbeat\n    method: GET\n    header:\n      - User-Agent:AutoAuth\n    interval: 5\n    timeout: 5\n    retry: 3\n\n  save:\n    - token\n```\n\nNote: The config also support in various format include json, toml, hcl, envfile. It's powered by [Viper](https://github.com/spf13/viper)\n\n## 📕 CLI Usage\n\nBasic usage run this command to **Start** Autoauth\n\n```console\n~$ autoauth start -f ./autoauth.yml\n```\n\nOr use **Help** command to see, What's Autoauth CLI can do for you.\n\n```console\n~$ autoauth --help\n```\n\n![Help Command](img/help.png)\n\n## 📝 Todo\n\n- [x] ~~Add docker image~~\n\n- [ ] Add complied binary file\n\n- [ ] Save key from response for use in another purpose\n\n- [x] ~~Add retries rule~~\n\n- [ ] Create preset file from CLI\n\n- [ ] Decrypt with key for read secret variables from preset file\n\n- [ ] Implement timeout from preset file\n\n- [ ] Write unit tests\n\n- [ ] Write benchmark\n\n- [ ] Write documents\n\n- [ ] Create GUI\n\n## 🛒 Dependencies\n\n- [Cobra](https://github.com/spf13/cobra) A Commander for modern Go CLI interactions\n\n- [Viper](https://github.com/spf13/viper) Go configuration with fangs\n\n- [Fasthttp](https://github.com/valyala/fasthttp) Used for httpclient. Zero memory allocations. Up to 10x faster than net/http\n\n- [Go-ps](https://github.com/mitchellh/go-ps) Find, list, and inspect processes from Go (golang).\n\n## 🕵️‍♀️ Contributing\n\nYes, Thanks for all contributor.\n\nIf you have any question or issues also check [this](https://github.com/PePoDev/autoauth/issues/new) page.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpepodev%2Fautoauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpepodev%2Fautoauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpepodev%2Fautoauth/lists"}