{"id":16848378,"url":"https://github.com/rustin170506/tokio-console-web","last_synced_at":"2025-04-21T19:31:49.238Z","repository":{"id":210529341,"uuid":"724648472","full_name":"Rustin170506/tokio-console-web","owner":"Rustin170506","description":" A Web Interface for the Tokio Console.","archived":true,"fork":false,"pushed_at":"2025-02-04T18:51:44.000Z","size":1971,"stargazers_count":18,"open_issues_count":11,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-16T07:26:42.144Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://console.rustin.me","language":"TypeScript","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/Rustin170506.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-11-28T14:08:58.000Z","updated_at":"2025-02-05T13:59:12.000Z","dependencies_parsed_at":"2024-01-17T06:41:10.304Z","dependency_job_id":"cb2201dc-1291-4193-9043-6bcf16123716","html_url":"https://github.com/Rustin170506/tokio-console-web","commit_stats":null,"previous_names":["hi-rustin/console-web","rustin170506/tokio-console-web","hi-rustin/tokio-console-web"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rustin170506%2Ftokio-console-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rustin170506%2Ftokio-console-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rustin170506%2Ftokio-console-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rustin170506%2Ftokio-console-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rustin170506","download_url":"https://codeload.github.com/Rustin170506/tokio-console-web/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250119940,"owners_count":21378116,"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":[],"created_at":"2024-10-13T13:11:03.628Z","updated_at":"2025-04-21T19:31:49.213Z","avatar_url":"https://github.com/Rustin170506.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003cpicture\u003e\n  \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"./docs/logo-dark.svg\"\u003e\n  \u003cimg alt=\"crates.io logo\" src=\"./docs/logo.svg\" width=\"200\"\u003e\n\u003c/picture\u003e\n\u003c/div\u003e\n\n---\n\n\u003cdiv align=\"center\"\u003e\n\n[Homepage](https://github.com/Rustin170506/tokio-console-web)\n| [Discord](https://discord.gg/EeF3cQw)\n| [Contributing](#️-contributing)\n\n\u003c/div\u003e\n\n## 🦀 Overview\n\nWelcome to the `tokio-console-web` project! This project is a web-based console for the [console-subscriber] crate. It is designed to be a simple, easy-to-use, and powerful tool for monitoring and debugging your `tokio` applications.\n\n## 🚀 Getting Started\n\nTo use `tokio-console-web`, follow these steps:\n\n1. **Enable gRPC-Web:**\n\n    1. Enable the `grpc-web` feature in your `console-subscriber` dependency:\n\n        ```toml\n        [dependencies]\n        console-subscriber = { version = \"0.4.0\", features = [\"grpc-web\"] }\n        ```\n\n    2. Configure your application to use the `ConsoleLayer` with gRPC-Web enabled:\n\n        ```rust\n        use std::net::Ipv4Addr;\n\n        console_subscriber::ConsoleLayer::builder()\n            .enable_grpc_web(true)\n            .server_addr((Ipv4Addr::UNSPECIFIED, 9999))\n            .init();\n        ```\n\n2. **Using Docker (Recommended):**\n\n    You can quickly get started by pulling the Docker image:\n\n    ```sh\n    docker pull ghcr.io/rustin170506/tokio-console-web:latest\n    docker run -p 3000:3000 ghcr.io/rustin170506/tokio-console-web:latest\n    ```\n\n3. **Manual Setup:**\n\n    If you prefer to set up manually, follow these steps:\n\n    1. Clone this repository and run `pnpm install` to install the dependencies.\n\n        ```sh\n        git clone https://github.com/Rustin170506/tokio-console-web.git\n        cd tokio-console-web\n        pnpm install\n        ```\n\n    2. Install Rust toolchain.\n\n        ```sh\n        curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh\n        ```\n\n    3. Run `pnpm dev` to start the development server.\n\n        ```sh\n        pnpm dev\n        ```\n\n    4. Access the web console at `http://127.0.0.1:3000` in your browser.\n\n## 🛠️ Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request. If you have any questions, please feel free to ask in the [Discord](https://discord.gg/EeF3cQw) server.\n\n## ⚖️ License\n\nLicensed under either of these:\n\n- Apache License, Version 2.0, ([LICENSE-APACHE](./LICENSE-APACHE) or https://www.apache.org/licenses/LICENSE-2.0)\n- MIT license ([LICENSE-MIT](./LICENSE-MIT) or https://opensource.org/licenses/MIT)\n\n[console-subscriber]: https://crates.io/crates/console-subscriber\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frustin170506%2Ftokio-console-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frustin170506%2Ftokio-console-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frustin170506%2Ftokio-console-web/lists"}