npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

figma-discord-presence

v1.0.0

Published

Discord Rich Presence for Figma - Show your design status automatically

Readme

🎨 Figma Discord Rich Presence

by @uwayxt

Automatically display your Figma activity status on Discord! Show your professional design work to friends and colleagues with a beautiful rich presence.

Discord Status Preview

✨ Features

  • 🎯 Automatic Detection - Detects both Figma Desktop and Web versions
  • 🎨 Professional Status - Shows "🎨 Designing in Figma" on your Discord profile
  • Real-time Updates - Updates every 15 seconds automatically
  • 🖥️ Cross-platform - Works on Windows, macOS, and Linux
  • 🔗 Custom Buttons - Add portfolio and contact links
  • 🎭 Rich Presence - Timestamps, icons, and detailed status
  • 🔄 Auto Reconnect - Handles Discord disconnections gracefully

📸 Preview

When you're using Figma, your Discord profile will show:

🎨 Designing in Figma
Creating amazing designs
🕐 for 2 hours 31 minutes

With optional buttons for your portfolio and contact links!

🚀 Quick Start

1. Prerequisites

  • Node.js 14+ installed
  • Discord Desktop app running
  • Figma Desktop or Web access

2. Clone & Install

git clone https://github.com/uwayxt/figma-discord-presence
cd figma-discord-presence
npm install

3. Setup Discord Application

  1. Go to Discord Developer Portal
  2. Click "New Application" and name it "Figma"
  3. Copy the Application ID
  4. Go to "Rich Presence" → "Art Assets"
  5. Upload a Figma logo image with key: figma_logo
  6. Upload a status icon with key: online_status

4. Configure

Edit src/config.js:

module.exports = {
  CLIENT_ID: 'YOUR_APPLICATION_ID_HERE', // Paste your Application ID
  
  PRESENCE_CONFIG: {
    details: '🎨 Designing in Figma',
    state: 'Creating amazing designs',
    // ... customize other settings
  }
};

5. Run

npm start

That's it! The presence will automatically activate when you open Figma.

⚙️ Configuration

Basic Settings

| Setting | Description | Default | |---------|-------------|---------| | CLIENT_ID | Discord Application ID | Required | | details | Main status text | "🎨 Designing in Figma" | | state | Subtitle text | "Creating amazing designs" | | UPDATE_INTERVAL | Check interval (ms) | 15000 (15 seconds) |

Custom Buttons

Add up to 2 buttons to your presence:

buttons: [
  {
    label: 'View My Portfolio',
    url: 'https://your-portfolio.com'
  },
  {
    label: 'Hire Me',
    url: 'https://your-contact.com'
  }
]

Rich Presence Images

Upload these images to your Discord Application:

  • figma_logo - Main Figma icon (512x512 recommended)
  • online_status - Small status indicator (256x256 recommended)

🖥️ Platform Support

Windows

  • Detects Figma.exe and FigmaAgent.exe processes
  • Detects Figma web in Chrome/Firefox/Edge browsers

macOS

  • Detects Figma and Figma Helper processes
  • Activity monitor integration

Linux

  • Detects figma-linux and Figma processes
  • Process list monitoring

📱 Usage Examples

Personal Branding

Show clients and colleagues that you're actively working on design projects.

Team Collaboration

Let your design team know when you're available for feedback or collaboration.

Professional Status

Display a productive, professional status instead of "Playing a game".

🛠️ Development

Project Structure

figma-discord-presence/
├── package.json          # Dependencies & scripts
├── README.md            # This file
├── LICENSE              # MIT License
└── src/
    ├── index.js         # Main entry point
    ├── config.js        # Configuration settings
    ├── activity.js      # Rich presence logic
    └── utils/
        └── window.js    # Process detection utilities

Scripts

npm start           # Start the presence
npm run dev         # Start with nodemon (auto-restart)

Debug Mode

Set environment variable for detailed logging:

DEBUG=true npm start

🐛 Troubleshooting

Common Issues

❌ "Invalid Client ID"

  • Make sure you're using the Application ID, not Client Secret
  • Check that the ID is exactly copied from Discord Developer Portal

❌ "Could not connect to Discord"

  • Ensure Discord Desktop is running (not just web version)
  • Try restarting Discord and running the script again

❌ "Figma not detected"

  • Make sure Figma Desktop is running, not just browser tab
  • Check that the process name matches your system

❌ "RPC Connection Failed"

  • Close and reopen Discord
  • Run Discord as administrator (Windows)
  • Check if other Discord RPC apps are running

Getting Help

  1. Check the Issues page
  2. Create a new issue with:
    • Your operating system
    • Node.js version (node --version)
    • Error messages or logs
    • Steps to reproduce

🤝 Contributing

Contributions are welcome! Please feel free to:

  • 🐛 Report bugs
  • 💡 Suggest new features
  • 🔧 Submit pull requests
  • 📝 Improve documentation

Development Setup

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature-name
  3. Make your changes
  4. Test thoroughly
  5. Submit a pull request

📄 License

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

🙏 Acknowledgments

  • Discord for the Rich Presence API
  • Figma for creating an amazing design tool
  • The Node.js community for excellent packages

🔗 Links


Made with ❤️ by @uwayxt

Show the world you're a professional designer! ✨

📊 Stats

GitHub stars GitHub forks
GitHub issues NPM version