{"id":25637582,"url":"https://github.com/fyxme/gonada","last_synced_at":"2026-06-17T03:31:37.317Z","repository":{"id":202287913,"uuid":"208215992","full_name":"fyxme/gonada","owner":"fyxme","description":"Golang wrapper around the getnada.com API","archived":false,"fork":false,"pushed_at":"2024-10-10T20:16:01.000Z","size":18,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-23T01:36:20.644Z","etag":null,"topics":["api","api-wrapper","getnada","go","golang","testing"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fyxme.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}},"created_at":"2019-09-13T07:24:12.000Z","updated_at":"2024-10-10T20:16:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"8ccd8a7c-92e9-4b2d-80d2-945ec71c6ed1","html_url":"https://github.com/fyxme/gonada","commit_stats":null,"previous_names":["fyxme/gonada"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fyxme/gonada","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fyxme%2Fgonada","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fyxme%2Fgonada/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fyxme%2Fgonada/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fyxme%2Fgonada/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fyxme","download_url":"https://codeload.github.com/fyxme/gonada/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fyxme%2Fgonada/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34433085,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["api","api-wrapper","getnada","go","golang","testing"],"created_at":"2025-02-23T01:27:48.968Z","updated_at":"2026-06-17T03:31:37.299Z","avatar_url":"https://github.com/fyxme.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gonada\n\ngonada is a Golang wrapper around the [getnada.com](https://getnada.com) API. (getnada.com is a temp email provider)\n\nThis was originally made in order to test emails and email confirmations sent by a webapp.\n\nThe Unofficial API Documentation can be found [here](https://github.com/fyxme/pynada#api).\n\nOther wrappers:\n- [Python](https://github.com/fyxme/pynada)\n\n## Installation\n\n`go get https://github.com/fyxme/gonada`\n\n## How to use\n\n```Golang\npackage main\n\nimport (\n    \"regexp\"\n    \"fmt\"\n    \"github.com/fyxme/gonada\"\n)\n\nfunc main() {\n    gn := gonada.GetNada{}\n\n    // list of available domains to use as emails\n    domains := gn.GetDomains()\n    fmt.Println(domains)\n\n    email := fmt.Sprintf(\"%s@%s\", \"test\", domains[0])\n    gni := gn.GetInbox(email)\n    if gni.IsEmpty() {\n        fmt.Println(\"Inbox is empty\")\n    }\n\n    // get the contents of the first email in the mailbox\n    firstMail := gni.Msgs[0]\n    fmt.Println(\n        firstMail.FromName,\n        firstMail.FromEmail,\n        firstMail.Subject,\n        firstMail.Timestamp,\n        firstMail.GetContents()[:10],\n    )\n\n    // find a comfirmation link inside of an email\n    r, _ := regexp.Compile(\"http://somewebsite.com/confirm_email/[0-9A-Za-z]+\")\n    fromEmail := \"do-not-reply@somewebsite.com\"\n    for _, mail := range gni.Msgs {\n        // skip email if not from right address\n        if mail.FromEmail != fromEmail {\n            continue\n        }\n\n        if confirmLink := r.FindString(mail.GetContents()); confirmLink != \"\" {\n            // do something with confirmlink here\n            fmt.Println(confirmLink)\n            break\n        }\n    }\n}\n```\n\n## TODO\n\n- Refactor the requests into one request function and return the response\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffyxme%2Fgonada","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffyxme%2Fgonada","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffyxme%2Fgonada/lists"}