https://github.com/bigbuildbench/robotty_twitch-irc-rs
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (6.8%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: BigBuildBench
- License: mit
- Language: Rust
- Default Branch: master
- Size: 619 KB
Statistics
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
twitch-irc-rs
This is a client library to interface with Twitch chat.
This library is async and runs using the tokio runtime.
Example usage (This is the simple_listener example, see examples/simple_listener.rs and run it with cargo run --example simple_listener):
```rust use twitchirc::login::StaticLoginCredentials; use twitchirc::TwitchIRCClient; use twitch_irc::{ClientConfig, SecureTCPTransport};
[tokio::main]
pub async fn main() {
// default configuration is to join chat as anonymous.
let config = ClientConfig::default();
let (mut incoming_messages, client) =
TwitchIRCClient::
// first thing you should do: start consuming incoming messages,
// otherwise they will back up.
let join_handle = tokio::spawn(async move {
while let Some(message) = incoming_messages.recv().await {
println!("Received message: {:?}", message);
}
});
// join a channel
// This function only returns an error if the passed channel login name is malformed,
// so in this simple case where the channel name is hardcoded we can ignore the potential
// error with `unwrap`.
client.join("sodapoppin".to_owned()).unwrap();
// keep the tokio executor alive.
// If you return instead of waiting the background task will exit.
join_handle.await.unwrap();
} ```
Check out the documentation on docs.rs for more details.
Owner
- Name: BigBuildBench
- Login: BigBuildBench
- Kind: organization
- Repositories: 1
- Profile: https://github.com/BigBuildBench
abbr. B3, benchmarking the repo-level understanding capability of your LLMs by reconstructing project build-file.
GitHub Events
Total
- Create event: 7
Last Year
- Create event: 7
Dependencies
- actions/checkout v4 composite
- rustsec/audit-check v1 composite
- actions/checkout v4 composite
- dangoslen/changelog-enforcer v2 composite
- actions-rs/cargo v1 composite
- actions-rs/toolchain v1 composite
- actions/checkout v4 composite
- actions/upload-artifact v2 composite
- axum 0.6 development
- maplit 1 development
- serde_json 1 development
- tokio 1 development
- tracing-subscriber 0.3 development