Coder Social home page Coder Social logo

apps.notion's Introduction

Integrate Notion Via RC App


Logo

Integrating Notion with Rocket.Chat

View Demo ยท Report Bug ยท Request Feature

Contributors Forks Stargazers Issues MIT License

๐Ÿ“œ Getting Started

Prerequisites

  • You need a Rocket.Chat Server Setup
  • Rocket.Chat.Apps CLI,
  • In case you don't have run:
    npm install -g @rocket.chat/apps-cli

โš™๏ธ Installation

  • Every RocketChat Apps runs on RocketChat Server, thus everytime you wanna test you need to deploy the app with this note. lets start setting up:
  1. Clone the repo

    git clone https://github.com/<yourusername>/Apps.Notion
  2. Install NPM packages

    npm ci
  3. Deploy app using:

    rc-apps deploy --url <url> --username <username> --password <password>
  4. Once its deploy, Go to Installed Apps and Settings tab in RC,you would see two input fields:

    
     # notion-client-id
     # notion-client-secret
     // Generate above Credentials from Notion By Creating the *Public* Integration.
     // https://developers.notion.com/docs/authorization#how-to-make-an-integration-public
    
    
  5. Once Its done save the changes, and now under the Notion Integration Provide the Webhook GET endpoint in Redirect URI field of Notion, GET Webhook Endpoint: you can find on the Current App Info under Detail tab in RC.

โœ… About The Project:


- Integrate Notion Via RC App prioritizes teamwork by enhancing collaboration for Notion Users. Imagine having the power
of two essential platforms,RocketChat and Notion, united as one, eliminating the need to switch between two platforms.
Teams can Seamlessly connect, effortlessly manage various Notion workspaces, Share documents, and Even View Documents
all within RocketChat.
- The real magic lies in Preserving your Important message inside the Notion Page, Structured within the Notion Database,
ensuring vital discussions, decisions, and insights are never lost again, fostering alignment and inclusivity as everyone
stays on the same page, even if they're not actively chatting. Whether it's brainstorming sessions, meeting notes,
or shared links, find them all in one organized place. Plus, Create Comments on the Notion Page, view the Notion Database,
and interact with relevant information.
- Furthermore, do you have a backlog? need to assign tasks, set priorities, or have updates on project status?
No worries; Update Notion database entries without leaving Rocket.Chat. Welcome to a new era of streamlined collaboration,
Where RocketChat and Notion work together seamlessly to fuel your team's success.

This Project Includes Backward Compatible Approach for Authorization:

  • Following things aren't possible with current apps-engine framework version (when writing this).
  1. Incase of any platform Authorization workflow can alter than the usual. In Case of Notion, it suggests to use Basic HTTP Authentication when requesting for access_token while providing the code check here
  2. Now incase of usual workflow we provide the clientId and clientSecret in params but Notion and in future we may encounter any other platform which would suggest different ways to provide credentials in Authorization header. In case of Notion they suggested to provide the credentials in form of Basic CLIENTID:CLIENTSECRET where the credentials provide should be a base64.
  3. In case of any platform we may need the extra info in persistance storage. In case of Notion we needed a lot of extra fields which includes workspace info, access_level of pages, userInfo including the access_token_info etc. check here

๐Ÿš€ Usage :


  ๐Ÿ‘‹ Need some help with /notion?

    โ€ข use `/notion connect` to connect your workspace
    โ€ข use `/notion disconnect` to disconnect workspace
    โ€ข use `/notion comment` to comment on notion page
    โ€ข use `/notion create` to create page or entries
    โ€ข use `/notion create db` to create database
    โ€ข use `/notion share` to share pages
    โ€ข use `/notion [workspace | ws]` to change workspace
    โ€ข use `/notion view` to view page or entries

โœจ Glimpse :

Video Demo Day

๐Ÿง‘โ€๐Ÿ’ป Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue. Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feat/AmazingFeature)
  3. Commit your Changes (git commit -m 'feat: adds some amazing feature')
  4. Push to the Branch (git push origin feat/AmazingFeature)
  5. Open a Pull Request

๐Ÿ“š Resources

Here are some links to examples and documentation:

apps.notion's People

Contributors

nabhag8848 avatar samad-yar-khan avatar brf153 avatar spiral-memory avatar jeffreythecoder avatar sayan4444 avatar sing-li avatar sumitwarrior7 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.