{"id":15105664,"url":"https://github.com/naamloos/phanagoroloxodon","last_synced_at":"2026-02-17T16:37:11.026Z","repository":{"id":223188158,"uuid":"759503330","full_name":"Naamloos/Phanagoroloxodon","owner":"Naamloos","description":"More dead elephants. (.NET 8 library for Mastodon)","archived":false,"fork":false,"pushed_at":"2024-10-15T21:09:19.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-13T12:49:26.836Z","etag":null,"topics":["csharp","mastodon","mastodon-api","net8","netcore"],"latest_commit_sha":null,"homepage":"","language":"C#","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/Naamloos.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,"zenodo":null}},"created_at":"2024-02-18T19:08:32.000Z","updated_at":"2024-10-15T21:09:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"14d56aeb-8f16-4bc1-a62e-b58dc6845928","html_url":"https://github.com/Naamloos/Phanagoroloxodon","commit_stats":{"total_commits":10,"total_committers":2,"mean_commits":5.0,"dds":0.09999999999999998,"last_synced_commit":"834bf89c7a3b8e7b38159e926496df65b6fa1cd8"},"previous_names":["naamloos/phanagoroloxodon"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Naamloos/Phanagoroloxodon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naamloos%2FPhanagoroloxodon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naamloos%2FPhanagoroloxodon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naamloos%2FPhanagoroloxodon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naamloos%2FPhanagoroloxodon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Naamloos","download_url":"https://codeload.github.com/Naamloos/Phanagoroloxodon/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naamloos%2FPhanagoroloxodon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279013517,"owners_count":26085368,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"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":["csharp","mastodon","mastodon-api","net8","netcore"],"created_at":"2024-09-25T20:41:58.023Z","updated_at":"2025-10-13T03:37:34.161Z","avatar_url":"https://github.com/Naamloos.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Phanagoroloxodon\nMore dead elephants. (.NET 8 library for Mastodon)\n\nPhanagoroloxodon was made because all the existing libraries for .NET either are ancient or suck ass. As of right now, the focus is on the REST api, but support for websocket-based streaming API is planned.\n\n## Namesake\nAs Mastodon is named after an extinct species of elephants, I decided to name my library after an extinct elephant genus. Hence \"more dead elephants\". [Wikipedia: Phanagoroloxodon](https://en.wikipedia.org/wiki/Phanagoroloxodon).\n\n## Getting started\nThe library is still very much in development, and thus is not available on Nuget yet.\n\n```cs\n// Authenticating a Mastodon client using a pre-generated access token.\nvar mastodon = new Mastodon(new MastodonClientConfig()\n{\n    AccessToken = \"your-token\",\n    Instance = \"yourinstance.social\"\n});\n\n// Posting a simple text status\nvar tootResponse = await mastodon.PostStatusAsync(\"Hello world!\");\nif(!tootResponse.Success)\n{\n    // Leave error handling to the end user!\n    Console.WriteLine(tootResponse.Error);\n}\n\n// Fetching timeline\nvar timelineResponse = await mastodon.GetPublicTimelineAsync();\nif(publicTimeline.Success)\n{\n    foreach(Status toot in timelineResponse.Value)\n    {\n        // Prints out last public toots to the console.\n        Console.WriteLine($\"{toot.Account.Acct}:\\n{toot.SanitizedContent}\\n\\n\");\n    }\n}\n```\n\nIt's really that simple. I hated how other libs did it so I decided to build my own. SanitizedContent may be somewhat inaccurate due to lack of testing, but it uses [HTML Agility Pack](https://html-agility-pack.net/) for getting a plaintext version of status content.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaamloos%2Fphanagoroloxodon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnaamloos%2Fphanagoroloxodon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaamloos%2Fphanagoroloxodon/lists"}