Skip to content

Commit 2623261

Browse files
committed
fix: fix README
1 parent 249bfe1 commit 2623261

File tree

8 files changed

+19
-26
lines changed

8 files changed

+19
-26
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ node_modules/
66

77
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
88
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
9-
# Cargo.lock
9+
Cargo.lock
1010

1111
# These are backup files generated by rustfmt
1212
**/*.rs.bk

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.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ members = [
77
resolver = "2"
88

99
[workspace.package]
10-
version = "0.5.2"
10+
version = "0.5.4"
1111
edition = "2021"
1212
repository = "https://github.com/ldclabs/idempotent-proxy"
1313
keywords = ["idempotent", "reverse", "proxy", "icp"]

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33

44
💝 This project received a **$5k Developer Grant** from the Dfinity Foundation.
55

6-
See: https://forum.dfinity.org/t/idempotent-proxy-proxy-https-outcalls-to-any-web2-service/30624
7-
86
## Overview
97

108
The idempotent-proxy is a reverse proxy service written in Rust with built-in idempotency support.
@@ -15,6 +13,15 @@ This service can be used to proxy [HTTPS outcalls](https://internetcomputer.org/
1513

1614
![Idempotent Proxy](./idempotent-proxy.png)
1715

16+
## Packages
17+
18+
| Package | Description |
19+
| :----------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------ |
20+
| [idempotent-proxy-server](https://github.com/ldclabs/idempotent-proxy/tree/main/src/idempotent-proxy-server) | Idempotent Proxy implemented in Rust. |
21+
| [idempotent-proxy-cf-worker](https://github.com/ldclabs/idempotent-proxy/tree/main/src/idempotent-proxy-cf-worker) | Idempotent Proxy implemented as Cloudflare Worker. |
22+
| [idempotent-proxy-types](https://github.com/ldclabs/idempotent-proxy/tree/main/src/idempotent-proxy-types) | Idempotent Proxy types in Rust. Should not be used in ICP canister! |
23+
| [examples/eth-canister](https://github.com/ldclabs/idempotent-proxy/tree/main/examples/eth-canister) | A ICP canister integration with Ethereum JSON-RPC API. |
24+
1825
## Features
1926
- [x] Reverse proxy with build-in idempotency support
2027
- [x] JSON response filtering

examples/eth-canister/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@ dfx canister call eth-canister get_best_block '()'
5353
## License
5454
Copyright © 2024 [LDC Labs](https://github.com/ldclabs).
5555

56-
`ldclabs/idempotent-proxy` is licensed under the MIT License. See [LICENSE](LICENSE-MIT) for the full license text.
56+
`ldclabs/idempotent-proxy` is licensed under the MIT License. See [LICENSE](../../LICENSE-MIT) for the full license text.

src/idempotent-proxy-cf-worker/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ This service can be used to proxy [HTTPS outcalls](https://internetcomputer.org/
1111

1212
![Idempotent Proxy](./idempotent-proxy.png)
1313

14-
If you plan to use this project and have any questions, feel free to open an issue. I will address it as soon as possible.
15-
1614
## Run proxy in local development mode
1715

1816
Run proxy:
@@ -47,4 +45,4 @@ More information: https://github.com/ldclabs/idempotent-proxy
4745
## License
4846
Copyright © 2024 [LDC Labs](https://github.com/ldclabs).
4947

50-
`ldclabs/idempotent-proxy` is licensed under the MIT License. See [LICENSE](LICENSE-MIT) for the full license text.
48+
`ldclabs/idempotent-proxy` is licensed under the MIT License. See [LICENSE](../../LICENSE-MIT) for the full license text.

src/idempotent-proxy-server/README.md

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ When multiple requests with the same idempotency-key arrive within a specific ti
99

1010
This service can be used to proxy [HTTPS outcalls](https://internetcomputer.org/docs/current/developer-docs/smart-contracts/advanced-features/https-outcalls/https-outcalls-overview) for [ICP canisters](https://internetcomputer.org/docs/current/developer-docs/smart-contracts/overview/introduction), enabling integration with any Web2 http service. It supports hiding secret information, access control, returning only the necessary headers and, for JSON or CBOR data, allows response filtering based on JSON Mask to return only required fields, thus saving cycles consumption in ICP canisters.
1111

12-
![Idempotent Proxy](./idempotent-proxy.png)
13-
14-
If you plan to use this project and have any questions, feel free to open an issue. I will address it as soon as possible.
12+
![Idempotent Proxy](../../idempotent-proxy.png)
1513

1614
## Features
1715
- [x] Reverse proxy with build-in idempotency support
@@ -32,17 +30,7 @@ docker run --name redis -d -p 6379:6379 redis:latest
3230
cargo run -p idempotent-proxy-server
3331
```
3432

35-
### Run proxy with Docker
36-
37-
Run proxy with Docker:
38-
```bash
39-
docker run --name redis -d -p 6379:6379 redis:latest
40-
docker run --name idempotent-proxy -d -p 8080:8080 --link redis:redis zensh/idempotent-proxy
41-
```
42-
43-
More information: https://github.com/ldclabs/idempotent-proxy
44-
4533
## License
4634
Copyright © 2024 [LDC Labs](https://github.com/ldclabs).
4735

48-
`ldclabs/idempotent-proxy` is licensed under the MIT License. See [LICENSE](LICENSE-MIT) for the full license text.
36+
`ldclabs/idempotent-proxy` is licensed under the MIT License. See [LICENSE](../../LICENSE-MIT) for the full license text.

src/idempotent-proxy-types/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ When multiple requests with the same idempotency-key arrive within a specific ti
99

1010
This service can be used to proxy [HTTPS outcalls](https://internetcomputer.org/docs/current/developer-docs/smart-contracts/advanced-features/https-outcalls/https-outcalls-overview) for [ICP canisters](https://internetcomputer.org/docs/current/developer-docs/smart-contracts/overview/introduction), enabling integration with any Web2 http service. It supports hiding secret information, access control, returning only the necessary headers and, for JSON or CBOR data, allows response filtering based on JSON Mask to return only required fields, thus saving cycles consumption in ICP canisters.
1111

12-
![Idempotent Proxy](./idempotent-proxy.png)
12+
![Idempotent Proxy](../../idempotent-proxy.png)
1313

1414
## Features
1515
- [x] Reverse proxy with build-in idempotency support
@@ -25,4 +25,4 @@ More information: https://github.com/ldclabs/idempotent-proxy
2525
## License
2626
Copyright © 2024 [LDC Labs](https://github.com/ldclabs).
2727

28-
`ldclabs/idempotent-proxy` is licensed under the MIT License. See [LICENSE](LICENSE-MIT) for the full license text.
28+
`ldclabs/idempotent-proxy` is licensed under the MIT License. See [LICENSE](../../LICENSE-MIT) for the full license text.

0 commit comments

Comments
 (0)