Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

serendipity-bot

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serendipity-bot

Randomly pair people for 1-1 meetings

  • 1.0.0
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Serendipity Bot

What is it?

Serendipity Bot randomly pairs people for 1-1 meetings. This is generally pleasant and productive in organizations larger than a handleful of people, and can be a great way to spread ideas and build relationships between team members.

How do I use it?

Install it

npm i --g serendipity-bot

Make a list of names

Save something like this to a file

Peter
Paul
Mary
John
George
Ringo
Keith
Mick

Note: if you're using Slack, you may want these to be Slack handles or emoji.

Run the script

####To log today's pairing: serendipity-bot [list_of_names]

####To post to Slack: You'll first need to get a token for your Slack account.
serendipity-bot [list_of_names] --token [slack token] --channel [slack channel]

To learn more

serendipity-bot --help

What then?

Set up a cron job to run the script regularly! Our engineering team at ClassDojo runs the bot every Wednesday and Friday.

How does it work?

The script calculates all 2-combinations of team members and shuffles them deterministically. It also stores an integer index value in a file.

Whenever the script is run, the index is incremented (mod the number of combinations), and we pick the combination at that index. This way, we cycle through every pairing before repeating.

FAQs

Package last updated on 17 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc