https://github.com/xtuc/sieve2workers
Convert a Sieve program into a Cloudflare Workers for Cloudflare Email Routing.
https://github.com/xtuc/sieve2workers
Last synced: 11 months ago
JSON representation
Convert a Sieve program into a Cloudflare Workers for Cloudflare Email Routing.
- Host: GitHub
- URL: https://github.com/xtuc/sieve2workers
- Owner: xtuc
- Created: 2024-04-26T09:28:24.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-05T17:24:14.000Z (over 2 years ago)
- Last Synced: 2025-09-02T00:35:33.832Z (11 months ago)
- Language: Rust
- Size: 133 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sieve2workers
> Convert a Sieve program into a Cloudflare Workers for Cloudflare Email Routing.
## Install
```
cargo install sieve2workers
```
## Usage
```
sieve2workers input.sieve
```
Cloudflare Worker:
```js
import { run } from "/path/to/output.js"
export default {
async email(message, env, ctx) {
await run({ message });
}
}
```