Skip to content

Commit 1cb8f00

Browse files
committed
fix: update version and enhance welcome message for URI to JSON Bot
1 parent 84c211a commit 1cb8f00

5 files changed

Lines changed: 29 additions & 21 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ jobs:
6666
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6767

6868
- name: Upload artifact
69-
uses: actions/upload-artifact@v3
69+
uses: actions/upload-artifact@v4
7070
with:
71-
name: bot
72-
path: "target/release/bot"
71+
name: uri2json
72+
path: "target/release/"
7373

7474
- name: Upload binary via SCP
7575
uses: appleboy/scp-action@v0.1.6

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bot/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[package]
22
name = "bot"
3-
version = "0.1.0"
3+
version = "0.4.0"
44
edition = "2021"
55

66

77
[dependencies]
8-
singbox ={ version = "0.1.0" ,path = "../singbox"}
8+
singbox ={ version = "0.4.0" ,path = "../singbox"}
99
tokio = { version = "1.0", features = ["full"] }
1010
log = "0.4"
1111
pretty_env_logger = "0.5"

bot/src/utils.rs

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,27 @@ use tokio::{fs, time};
33

44
pub fn welcome_message() -> String {
55
r#"
6-
🎉 Welcome to URI to JSON Bot!
7-
I can help you process singbox URIs with version support.
8-
📋 Available commands:
9-
/start - Show this welcome message
10-
/help - Show available commands
11-
/singbox <version> <URI> - Process URI for specific version
12-
🔍 Supported versions: 1.11.0, 1.12.0
13-
/xray comming soon ...
14-
"We're currently in beta version !
15-
If you encounter any issues or have feedback,
16-
please let us know
17-
@ip_routes_admin
18-
we appreciate your support!"
6+
🎉 Welcome to the URI to JSON Bot!
7+
8+
I'm here to help you Convert URI into JSON configurations compatible with SingBox and Xray.
9+
10+
📋 Available Commands:
11+
12+
- /start — Show this welcome message
13+
- /help — Display all available commands
14+
- /singbox <version> <URI> — Process a URI for a specific version
15+
🔍 Supported Versions:
16+
17+
- 1.11.0
18+
- 1.12.0
19+
20+
🚀 Coming Soon:
21+
- /xray command
22+
23+
Beta Notice:
24+
"We're currently in beta! If you encounter any issues or have feedback, please let us know.
25+
@ip_routes_admin
26+
We appreciate your support!"
1927
"#
2028
.trim()
2129
.replace(" ", "")

singbox/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "singbox"
3-
version = "0.1.0"
3+
version = "0.4.0"
44
edition = "2021"
55

66

0 commit comments

Comments
 (0)