Skip to content

A script that enables you to showcase your Notion activity on Discord using Rich Presence.

License

Notifications You must be signed in to change notification settings

Falkern/NotionRPC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NotionRPC

NotionRPC is a Node.js script that updates your Discord Rich Presence status based on the active page in your Notion application. This script is designed to work on Windows operating systems.

Features

  • Automatically detects the active Notion page.
  • Updates Discord Rich Presence with the current Notion page title.
  • Refreshes the status every second.

Prerequisites

  • Windows operating system
  • Node.js installed
  • Discord application installed and running

Installation

  1. Clone the repository:

    git clone https://github.com/Falkern/NotionRPC.git
    cd NotionRPC
  2. Install the required dependencies:

    npm install

Usage

  1. Run the script:

    node index.js
  2. Ensure that Notion is running and you are logged into Discord.

Configuration

  • clientId: The client ID for your Discord application.
  • refreshIntervalMs: The interval in milliseconds to refresh the Notion process check.
  • updateCooldownMs: The cooldown period in milliseconds between presence updates.

Troubleshooting

  • Ensure that Notion is running and has an active window.
  • Check that you are logged into Discord.
  • Verify that the script is running on a Windows operating system.

License

This project is licensed under the MIT License.

Acknowledgements

About

A script that enables you to showcase your Notion activity on Discord using Rich Presence.

Topics

Resources

License

Stars

Watchers

Forks