https://github.com/posthog/posthog-plugin-advanced-kit
An advanced PostHog plugin starting point
https://github.com/posthog/posthog-plugin-advanced-kit
eslint javascript jest js plugin posthog prettier ts typescript
Last synced: 2 months ago
JSON representation
An advanced PostHog plugin starting point
- Host: GitHub
- URL: https://github.com/posthog/posthog-plugin-advanced-kit
- Owner: PostHog
- License: mit
- Created: 2021-01-18T18:17:45.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-01-20T08:04:42.000Z (over 5 years ago)
- Last Synced: 2025-08-09T03:48:14.158Z (10 months ago)
- Topics: eslint, javascript, jest, js, plugin, posthog, prettier, ts, typescript
- Language: JavaScript
- Homepage:
- Size: 67.4 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PostHog Plugin Advanced Kit: Hello World
[](https://www.npmjs.com/package/posthog-plugin-hello-world)
[](https://opensource.org/licenses/MIT)
This is an exemplary PostHog plugin. It adds property `"greeting"` to every event, with a configurable value (by default: `"Hello world!"`).
Use it as a base for your own plugins!
## Goodies included
- TypeScript for best reliability and development experience
- Jest for convenient testing
- Prettier and ESLint for code style and best practices – both handled by pre-commit hooks
- GitHub Actions set up to run code quality and functionality tests in pull requests, and also to publish a new npm release when the package version is incremented in `main` (the latter requires an automation type npm access token to be set with a repo secret `NPM_TOKEN`)
Want to simply get started, without the above bloat? [PostHog Plugin Starter Kit](https://github.com/PostHog/posthog-plugin-starter-kit) should be just the right fit for you – only the essentials needed to get off the ground.
## Installation
1. Open PostHog.
1. Head to the Plugins page from the sidebar.
1. Either install Hello World from Available plugins, or install from URL using this repository's URL.
## Questions?
### [Join our Slack community.](https://join.slack.com/t/posthogusers/shared_invite/enQtOTY0MzU5NjAwMDY3LTc2MWQ0OTZlNjhkODk3ZDI3NDVjMDE1YjgxY2I4ZjI4MzJhZmVmNjJkN2NmMGJmMzc2N2U3Yjc3ZjI5NGFlZDQ)
We're here to help you with anything PostHog!