{"id":21569411,"url":"https://github.com/aweirddev/maint-sdk","last_synced_at":"2026-02-08T03:09:39.542Z","repository":{"id":162941983,"uuid":"621226915","full_name":"AWeirdDev/maint-sdk","owner":"AWeirdDev","description":"The Official Maint SDK for Python.","archived":false,"fork":false,"pushed_at":"2023-03-30T10:30:54.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-18T05:45:26.702Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/AWeirdDev.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":"2023-03-30T08:38:59.000Z","updated_at":"2023-03-30T08:38:59.000Z","dependencies_parsed_at":"2024-04-28T12:44:05.717Z","dependency_job_id":"3ac46126-ec28-43d1-b123-1d78ea20272f","html_url":"https://github.com/AWeirdDev/maint-sdk","commit_stats":null,"previous_names":["aweirddev/maint-sdk"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AWeirdDev/maint-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AWeirdDev%2Fmaint-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AWeirdDev%2Fmaint-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AWeirdDev%2Fmaint-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AWeirdDev%2Fmaint-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AWeirdDev","download_url":"https://codeload.github.com/AWeirdDev/maint-sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AWeirdDev%2Fmaint-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29218696,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T02:25:35.815Z","status":"ssl_error","status_checked_at":"2026-02-08T02:24:27.970Z","response_time":57,"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":[],"created_at":"2024-11-24T11:09:26.713Z","updated_at":"2026-02-08T03:09:34.527Z","avatar_url":"https://github.com/AWeirdDev.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"## Building a OB Component\nBuilding a Maint OB (OhBoy) is demonstrated as follows.\n\n```py\n# main.py\nfrom maint import Client\nfrom component import MyComponent # your component!\n\nclient = Client()\n\n@client.event('message')\nasync def message(ctx):\n  if ctx.author.bot:\n    return # filter out bots\n    \n  await ctx.send(\n    ob=[\n      MyComponent(id=\"hello-world\")\n    ]\n  )\n\n@client.ohboy_autocomplete('hello-world')\nasync def my_component_handler(ctx, value):\n  return [\n    # note: awaits don't do anything here, but returns a valid action type\n    await ctx.validate([\"some good option you can choose\", \"...or this one\"]),\n    await ctx.reply(\"Hello, I'm very very smart 😈\")\n  ]\n  \n\nclient.run()\n```\n\n```py\n# component.py\nfrom maint.ob import OBComponent, OB, Param\n\ndef MyComponent(id: str = \"my-ob-component\") -\u003e OBComponent:\n  return OBComponent([\n    OB.Input(\n      type=\"text\",\n      autocomplete=True\n    ),\n    parameters=[\n      Param(type=\"input.value\")\n    ],\n    id=id\n  ])\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faweirddev%2Fmaint-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faweirddev%2Fmaint-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faweirddev%2Fmaint-sdk/lists"}