Skip to content

sadokbayar/GorsePlugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PostHog Plugin Starter Kit

License: MIT

This is a PostHog plugin template.

The existing sample code adds property "greeting" to every event with a configurable value (default: "Hello world!").
But that is just to help you get started! To make it your own:

  • Add your code to index.js.
  • Add your metadata and configuration schema to plugin.json.
  • Search for <TODO:, make sure none are left!
  • Optional: Add a logo.png file to give this plugin its own logo.
  • Create a README.MD for your plugin which follows our documentation guidelines.

If you're looking for inspiration, here are a few exemplary plugins:

  1. Hello World – basic event processing, with tests
  2. S3 Export – event export using the AWS SDK, with TypeScript
  3. GeoIP – advanced event processing using the GeoIP feature, with tests, formatting, linting, TypeScript, and GitHub Actions CI
  4. PagerDuty – periodic job using external HTTP API access

To get up to speed with the environment of plugins, check out our Plugins overview in PostHog Docs.
For a crash course, read the Plugins tutorial in PostHog Docs.

Installation

  1. Open PostHog.
  2. Go to the Plugins page from the sidebar.
  3. Head to the Advanced tab.
  4. "Install from GitHub, GitLab or npm" using this repository's URL.

Submitting your plugin to PostHog

When you're done, you can submit your plugin to our integration library so that it can be used by other users, including those on PostHog Cloud.

To submit your plugin, email your plugin GitHub URL to [email protected]

Once we get your email, we'll review the plugin to ensure it's secure, performant, and adheres to best practices. Then, we add it to our official repository and make it available for everyone to use!

Questions?

We're here to help you with anything PostHog!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%