Skip to content

The aim of this study project is to retrieve data from Notion (such as your tasks) and easily display them through a tray application.

Notifications You must be signed in to change notification settings

cassiorsfreitas/view-notion

Repository files navigation

Tauri Tray Application (Next.js + Tauri + Tailwind)

The goal of this study project is to fetch data from Notion, like tasks, and conveniently showcase them through a tray application. Additionally, it aims to gain practical understanding of how Tauri operates!

Screenshot 2024-02-19 at 19 33 45

The developed code draws inspiration from the application crafted by Diego Fernandes from Rocketseat YouTube Channel. It's vital to emphasize that all within this repository serves as a launching point for the community aspiring to shape a comparable application. Feel free to perform a clone/fork and evolve from this juncture.

Getting Started

This is a Tauri project template using Next.js and Tailwind CSS, bootstrapped by combining create-next-app and create tauri-app.

Prerequisites

Make sure you have the following installed on your system:

Installation

  1. Clone this repository to your local machine:
git clone https://github.com/cassiorsfreitas/view-notion.git
  1. Install all NextJs dependencies
cd view-notion
pnpm install
  1. Create an .env.local file and set these variables
NOTION_SECRET="secret_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
NOTION_DATABASE_ID="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
  1. Running locally
pnpm tauri dev

Usefull links

Roadmap

  • Fetch data from Notion API
  • Add dynamic height behavior according to the requested content
  • Emit event from Tauri in order to refetch the data when the window is opened
  • Implement loading/fetching indicator

About

The aim of this study project is to retrieve data from Notion (such as your tasks) and easily display them through a tray application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published