{"id":13767253,"url":"https://github.com/TheLDB/farcaster-rs","last_synced_at":"2025-05-10T22:31:39.250Z","repository":{"id":60138840,"uuid":"540616962","full_name":"TheLDB/farcaster-rs","owner":"TheLDB","description":"🚀 A fast \u0026 easy way to interface w/ Farcaster.xyz via Rust 🦀","archived":false,"fork":false,"pushed_at":"2023-08-13T18:09:57.000Z","size":263,"stargazers_count":57,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-09T19:52:12.304Z","etag":null,"topics":["crate","farcaster","rust"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/farcaster_rs","language":"Rust","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/TheLDB.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}},"created_at":"2022-09-23T21:05:01.000Z","updated_at":"2024-10-27T02:58:02.000Z","dependencies_parsed_at":"2024-01-11T23:48:18.642Z","dependency_job_id":"4ccf8838-7e8e-4cbf-b0d9-b4f6a67d283b","html_url":"https://github.com/TheLDB/farcaster-rs","commit_stats":{"total_commits":186,"total_committers":3,"mean_commits":62.0,"dds":"0.30645161290322576","last_synced_commit":"9a0d3825cd48e6e978126c57a1c9ed12c3003697"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheLDB%2Ffarcaster-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheLDB%2Ffarcaster-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheLDB%2Ffarcaster-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheLDB%2Ffarcaster-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheLDB","download_url":"https://codeload.github.com/TheLDB/farcaster-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253492529,"owners_count":21916959,"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":["crate","farcaster","rust"],"created_at":"2024-08-03T16:01:06.675Z","updated_at":"2025-05-10T22:31:36.979Z","avatar_url":"https://github.com/TheLDB.png","language":"Rust","funding_links":[],"categories":["Developer Resources","Uncategorized"],"sub_categories":["Repos","Uncategorized"],"readme":"\u003cdiv\u003e\n    \u003cimg alt=\"farcaster-rs\" align=\"center\" src=\"https://raw.githubusercontent.com/TheLDB/farcaster-rs/main/assets/banner.png\" /\u003e\n    \u003ch1 align=\"center\"\u003efarcaster-rs\u003c/h1\u003e\n     \u003ch3 align=\"center\"\u003e🚀 A simple \u0026 easy way to interface with \u003ca href=\"https://farcaster.xyz\"\u003eFarcaster\u003c/a\u003e via \u003cspan style=\"color: #dea584;\"\u003eRust 🦀\u003c/span\u003e\u003c/h3\u003e\n     \u003cp align=\"Center\"\u003eAuthor: Landon Boles\u003c/p\u003e\n     \u003cdiv align=\"center\" style=\"display: flex; justify-content: center;\"\u003e\n        \u003ca href=\"https://github.com/TheLDB\" style=\"padding-right: 5px;\"\u003eGitHub\u003c/a\u003e\n        \u003cp\u003e | \u003c/p\u003e\n        \u003ca href=\"https://perl.xyz/profile/lndnnft\" style=\"padding-right: 5px; padding-left: 5px;\"\u003eFarcaster\u003c/a\u003e\n        \u003cp\u003e | \u003c/p\u003e\n        \u003ca href=\"https://twitter.com/landon_xyz\" style=\"padding-left: 5px; padding-right: 5px;\"\u003eBird App\u003c/a\u003e\n     \u003c/div\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\u003cbr /\u003e\n\u003cbr /\u003e\n\n# Credits\n\n- [MistApproach](https://github.com/MistApproach)\n  - Tons of various improvements \u0026 suggestions to build on top of the crate \u0026 prepare it for the hubs launch.\n\n# 📜 Documentation\n\n## For extensive documentation, visit our [docs.rs page](https://docs.rs/farcaster-rs/1.0.1/farcaster_rs/)\n\n\u003cbr /\u003e\n\n# 🚀 Getting Started\n\n## Installation\n\nTo get started, add the farcaster_rs crate to your `Cargo.toml` file\n\n```toml\nfarcaster_rs = \"1.0.1\"\n```\n\nOnce you have the crate installed, you can start using the crate!\n\n## Usage\n\nTo connect to and use Farcaster API you need Ethereum provider HTTP endpoint along with mnemonic phrase\nor private key of an existing Farcaster account.\n\n```rust\nuse farcaster_rs::{\n  Farcaster,\n  Account\n};\n\n#[tokio::main]\nasync fn main() -\u003e Result\u003c(), Box\u003cdyn std::error::Error\u003e\u003e {\n  // Initialize a new Account with a phrase/private key and an optional key duration (defaults to 1 hour)\n  let account = Account::from_mnemonic(\"mnemonic phrase\", None).await?;\n  \n  // Create a Farcaster connection\n  let farcaster = Farcaster::new(\"eth node\", account).await?;\n  \n  let casts = farcaster.get_casts_by_username(\"lndnnft\", None, None).await?;\n  \n  println!(\"{:#?}\", casts);\n  \n  Ok(())\n}\n```\n\n\u003cbr /\u003e\n\n# 🙏 Contributing\n\nTo start, I appreciate any and all contributions to the \u003cspan style=\"color: #dea584\"\u003efarcaster-rs\u003c/span\u003e repository!\n\nThere are 3 prefered things I'd like if you decide to contribute, however.\n\n## 1. Ensure the issue/contribution is needed\n\nIf you spend your time building something, please ensure it's actually wanted/needed, this is best done by using the [Issues](https://github.com/TheLDB/farcaster-rs/issues) tab, and either viewing other discussions, or opening a new issue/discussion\n\n## 2. Create a new branch for your contribution\n\nOnce you have validated the contribution, and forked the repo to your own GitHub account, please create a new branch to commit your code onto.\n\nThis can be done via the git CLI pretty easily:\n\n```sh\n$ git switch -c my_cool_feature\n```\n\n## 3. Create a detailed pull request, with documentation\n\nI'd like to keep everything documented to make it as easy as possible for people looking to use the crate.\n\nWhen opening a pull request, please ensure your function/contribution has been properly documented, and include good information about it in the PR. (use common sense)\n\nThanks so much!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTheLDB%2Ffarcaster-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTheLDB%2Ffarcaster-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTheLDB%2Ffarcaster-rs/lists"}