Giter Site home page Giter Site logo

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

View Code? Open in Web Editor NEW
22.0 2.0 1.0 1.45 MB

Synchronize Notion and Google Tasks effortlessly: Front-end code for the Notion-Google Tasks Sync service, built with Astro and Cloudflare Pages.

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

License: MIT License

JavaScript 2.05% Astro 14.02% TypeScript 82.84% CSS 1.09%
astro cloudlfare-pages google-tasks javascript notion notion-database oauth2 sync-service website

notion-google-tasks-website's Introduction

Notion-Google Tasks Sync Website

Overview

Notion-Google Tasks Sync is a seamless service allowing users to synchronize their Notion and Google Tasks effortlessly. This repository contains the code for the front-end website, which facilitates user authorization and initial synchronization setup. Built with the Astro framework and hosted on Cloudflare Pages, the website is the starting point for users to integrate their Notion and Google Tasks.

aantipov/notion-google-tasks-worker is a companion repository for the cron job to sync tasks regularly in the background.

Website + Worker diagram

Features

  • App Authorization: Users grant permission to the app to access their Notion and Google Tasks on their behalf. This is essential for enabling the synchronization between the two services.
  • Initial Synchronization: Step-by-step process guiding users through the initial sync of tasks.
  • Secure & Private: Utilizes Cloudflare D1 for secure data storage, ensuring user data safety.
  • Minimalistic Design: A user-friendly interface for an effortless setup experience.

Getting Started

Prerequisites

  • Node.js
  • Cloudflare account

Installation

  1. Clone the repository:
   git clone https://github.com/aantipov/notion-google-tasks-website.git
  1. Install dependencies:
pnpm install
  1. Configure environment variables for Cloudflare and API access.

Running Locally

Run the following command to start the development server:

pnpm run dev

Deployment

This project is deployed on Cloudflare Pages. Follow Cloudflare's documentation for deploying Astro projects to set up continuous deployment.

License

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

notion-google-tasks-website's People

Contributors

aantipov avatar

Stargazers

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

Watchers

 avatar  avatar

Forkers

srujn

notion-google-tasks-website's Issues

Error when trying to sync with official sprint planning task database.

Hello. Thanks for the very nice product.
This is the feature I have been waiting for.

Synchronization between Notion's newly created database for testing and Google Tasks was successful.

I already have a task management database in Notion that I created from an official Scrum template. Synchronization with that task database fails.

I have adjusted the necessary properties and status values as requested. But no matter how many times I try, the first sync between this database and Google Tasks fails.

image

The error message appears when 80% of the tasks on the Google Tasks side have been synced to Notion.

The template for Scrum that I used has built-in sprint functionality that is currently in beta testing. This functionality is suspect, but I have not been able to verify it and am not certain.

Here are the details of the template.
https://www.notion.so/help/guides/product-engineering-notion-sprint-planning

The template itself should be available at https://www.notion.so/?tg=agile.

The reproduction procedure is as follows

  1. Add the above template to your workspace.
  2. Use the added "Tasks" database for synchronization. Add the necessary properties to it and change the status In progress to To Do.
  3. Follow the instructions to connect your synchronization service with Google and Notion.
  4. Select the database you have just synchronized.
  5. It fails in the middle of synchronization.

Once I thought it was a bad idea to de-synchronize. But I checked the synchronization with the database that was first successfully synchronized after de-synchronization, a newly created one for testing, and it succeeded.

I think it would be very powerful if the already existing task database for sprints could be synchronized with Google Tasks bi-directionally.
I would be very happy if the cause is found and fixed.

Google tasks not synced after initial sync

Hi there, wonderful website btw. I've started using recently, and I realised that the tasks aren't syncing? (At least not for a good couple of minutes), and the time didn't sync over from google tasks? Could you help me out, thanks!

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.