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 🙏

© 2024 – Pkg Stats / Ryan Hefner

fb-birthday-gratulator

v4.1.2

Published

Facebook Auto Post Birthday Message

Downloads

34

Readme

fb-birthday-gratulator

Automatically post birthday messages to the Facebook profile wall of your friends.

oclif Version Downloads/week License FOSSA Status

Installation

Use git's tag v1.0.0 for the old, the tag v2.0.0 for the new Facebook design. The tag v3.0.0 and up is for a new execution method including a config command. Up of v4.0.0, you will also have additional config possibilities and pptr was changed for playwright.

Note that you need to set the language of Facebook to English for this to work out of the box.

Via Repo

Download this repository, unpack it. Make sure you have Node.js installed. Then, from the root of this repo/directory, run yarn install (make sure to have yarn installed) to run.

Via NPM/yarn

Install this repo like: npm install --global fb-birthday-gratulator

(replace npm install with yarn add if you do not belong to the mainstream)

Configuration

A file named config.json in the root of the directory, in which this tool has been installed to, can be used for the configuration. The content of the config.json have the structure (replace strings as appropriate):

{
  "username": "[email protected]",
  "password": "your/pass/word!",
  "wishes":  {
    "anyone": [
      "Happy birthday! ;D",
      "Happy birthday! 🥳🎈🎁🎊🥳",
      "Best wishes & many presents! 🎁🎊🎁"
    ],
    "Your Loved Ones FB-Name": [
      "Enjoy your day, my Love! 😘💕❤️"
    ]
  }
}

Note that at the moment, the config is not getting validated in any useful form – you will just get the failure notification.

Usage

$ npm install -g fb-birthday-gratulator
$ fb-gratulate COMMAND
running command...
$ fb-gratulate (--version|-v)
fb-birthday-gratulator/4.1.1 darwin-x64 node-v22.1.0
$ fb-gratulate --help [COMMAND]
USAGE
  $ fb-gratulate COMMAND
...

Commands

fb-gratulate config

Generate or edit a config - interactively

USAGE
  $ fb-gratulate config [--version] [--help]

FLAGS
  --help     Show CLI help.
  --version  Show CLI version.

DESCRIPTION
  Generate or edit a config - interactively
  ...
  This command lets you create a new config if none exists interactively
  or opens lazily an editor to let you edit the existing config.

See code: src/commands/config.js

fb-gratulate congratulate

Congratulate all todays birthday friends

USAGE
  $ fb-gratulate congratulate [--version] [-d] [--help]

FLAGS
  -d, --debug
      --help     Show CLI help.
      --version  Show CLI version.

DESCRIPTION
  Congratulate all todays birthday friends
  ...
  Note that you require a config as described [here](https://github.com/GenieTim/fb-birthday-gratulator#configuration)


ALIASES
  $ fb-gratulate gratulate

See code: src/commands/congratulate.js

fb-gratulate gratulate

Congratulate all todays birthday friends

USAGE
  $ fb-gratulate gratulate [--version] [-d] [--help]

FLAGS
  -d, --debug
      --help     Show CLI help.
      --version  Show CLI version.

DESCRIPTION
  Congratulate all todays birthday friends
  ...
  Note that you require a config as described [here](https://github.com/GenieTim/fb-birthday-gratulator#configuration)


ALIASES
  $ fb-gratulate gratulate

fb-gratulate help [COMMAND]

Display help for fb-gratulate.

USAGE
  $ fb-gratulate help [COMMAND...] [-n]

ARGUMENTS
  COMMAND...  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for fb-gratulate.

See code: @oclif/plugin-help

fb-gratulate version

USAGE
  $ fb-gratulate version [--json] [--verbose]

FLAGS
  --verbose  Show additional information about the CLI.

GLOBAL FLAGS
  --json  Format output as json.

FLAG DESCRIPTIONS
  --verbose  Show additional information about the CLI.

    Additionally shows the architecture, node version, operating system, and versions of plugins that the CLI is using.

See code: @oclif/plugin-version

Automation

Use a separate program, such as a cron, to execute this utility daily.

License

FOSSA Status