Skip to content

About

Cloudflare worker collection in Typescript

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Custom Cloudflare Workers

For Notion Task Scheduler

Cloudflare Workers GitHub Workflow Status License

🌐 Cloudflare Workers integration with Notion for scheduling household tasks.

Overview

This project utilizes Cloudflare Workers to control Notion tasks and schedule household tasks. It provides a convenient way to automate and manage your household chores using the power of Cloudflare's serverless platform and Notion's collaborative workspace.

Prerequisites

Before deploying this project, make sure you have the following:

  • Cloudflare API Token: Obtain an API Token from your Cloudflare account to authenticate API requests.

  • Notion API Key: Generate an API Key from your Notion workspace to access and manipulate tasks.

  • Notion Container: Configure a Notion container that contains the tasks you want to schedule. Each task should have specific properties to define its schedule and other relevant details.

Deployment

  1. Clone this repository:

    git clone https://github.com/LeonHuzen/cloudflare-workers.git
    cd cloudflare-workers
    cd household
  2. Install project dependencies:

    npm install
  3. Configure your environment variables: Edit the wrangler.toml file in the household directory:

    CLOUDFLARE_API_TOKEN=your-cloudflare-api-token
    NOTION_API_KEY=your-notion-api-key
  4. Deploy the Cloudflare Worker:

    npm run deploy

Usage

Once deployed and running, the Cloudflare Worker will automatically control your Notion tasks based on the defined schedule. Update the Notion Container with the relevant tasks and their properties, and the worker will take care of managing and executing them according to the specified schedule.

Feel free to customize the worker's behavior and add any additional functionality to meet your specific needs.

License

This project is licensed under the MIT License. Feel free to modify the content and customize it further according to your project's requirements.

About

Cloudflare worker collection in Typescript

Resources

Stars

1 star

Watchers

1 watching

Forks

Used by

Contributors

Languages