Giter Club home page Giter Club logo

aantipov / notion-google-tasks-worker Goto Github PK

View Code? Open in Web Editor NEW
14.0 2.0 0.0 2.58 MB

Cloud-based CRON Worker for seamless synchronization between Notion databases and Google Tasks. Utilizes Cloudflare Workers and D1 to maintain real-time, two-way task syncing. Ensures efficient and secure data handling with automated updating and user data integrity

Home Page: https://notion-google-tasks-sync.com

License: MIT License

TypeScript 82.04% JavaScript 17.96%
backend cloudflare-d1 cloudflare-d1-with-drizzle-orm cloudflare-workers cron-jobs google-tasks-api javascript notion-api serverless tasks-synchronization

notion-google-tasks-worker's Introduction

Notion-Google Tasks Sync CRON Worker

Overview

This repository contains the CRON Worker for the Notion-Google Tasks Sync Service. Implemented as a Cloudflare Worker, it plays a crucial role in ensuring continuous synchronization between users' Notion databases and Google Tasks.

aantipov/notion-google-tasks-sync is a companion repository for a website where users setup syncing their data.

Worker diagram

Features

  • Automated Synchronization: Scheduled to run every minute, syncing tasks as per user configurations.
  • Data Integrity: Safeguards data consistency between Notion and Google Tasks.
  • Efficient Data Handling: Utilizes Cloudflare D1 for robust and secure data management.

Prerequisites

  • Cloudflare account and Workers configuration.
  • Access to Cloudflare D1 (relational database).
  • Google Cloud Platform account for Google Tasks API.
  • Notion Integration setup for Notion API.

Installation

  1. Clone the Repository:

    git clone https://github.com/aantipov/notion-google-tasks-worker.git
  2. Configure Cloudflare Worker:

  • Set up your Cloudflare Worker environment.
  • Configure environment variables for API access and database connections.
  1. Cloudflare D1 Setup:
  • Ensure the database schema matches the expected format.
  • Securely store user tokens and mapping data.

Usage

The CRON Worker is designed to be deployed as a Cloudflare Worker. Once deployed, it operates automatically based on the configured schedule.

  1. Deployment:
  • Use Cloudflare's deployment tools to deploy the Worker.
  • Verify the Worker is active in your Cloudflare dashboard.
  1. Monitoring:
  • Regularly check logs for any potential issues.
  • Monitor database performance and storage usage.

Contributing

Contributions to improve the CRON Worker are welcomed. Please follow the standard GitHub pull request process to submit your changes.

Reporting Issues

For any issues or feature requests, please create an issue in the repository's issue tracker.

License

This project is licensed under MIT - see the LICENSE file for details.

notion-google-tasks-worker's People

Contributors

aantipov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.