MCPcopy
hub / github.com/chronark/highstorm

github.com/chronark/highstorm @main sqlite

repository ↗ · DeepWiki ↗
177 symbols 704 edges 152 files 2 documented · 1%
README

Sadly I don't have the time to maintain this project. I'm building unkey.dev to solve API authentication and authorization with DX in mind. It's also 100% open source!

<h1 align="center">Highstorm</h1>
<h5>Open Source Event Monitoring</h5>

highstorm.app

Contributing

Thank you for considering contributing to our open source project! We appreciate your interest and are excited to have you on board. This document outlines the steps you need to follow to contribute to the project effectively. Please read the guidelines carefully and feel free to reach out if you have any questions.

Services

Before getting started, please ensure that you have the following third-party services set up:

Installation

To install the project and its dependencies, follow these steps:

  1. Ensure you have pnpm installed on your system. If not, you can install it by running:

    sh-session npm install -g pnpm

  2. Run the following command to install the project dependencies: sh-session pnpm install

Environment Variables

After setting up the required services, you need to set the corresponding environment variables in the /apps/web/.env file. To do this, follow these steps:

  1. Make a copy of the .env.example file: sh-session cp apps/web/.env.example apps/web/.env
  2. Open the /apps/web/.env file in a text editor and populate the values for the services mentioned above.

Database Preparation

Prisma

To prepare the Prisma database, follow these steps:

  1. Navigate to the /apps/web directory: sh-session cd apps/web
  2. Run the following command to push the database schema and generate Prisma Client: sh-session npx prisma db push

Tinybird

To prepare the Tinybird database, follow these steps:

  1. Download the Tinybird CLI from here and install it on your system.
  2. After authenticating with the Tinybird CLI, navigate to the /apps/web/lib/tinybird directory: sh-session cd apps/web/lib/tinybird
  3. Push the necessary datasources using the following command: sh-session tb push datasources/ tb push

Note: If the CLERK_WEBHOOK_SECRET env variable is not set, pass an empty string, and make sure to visit /onboarding after signing up.

Build

To build the project, execute the following command:

pnpm build

Run

To run the project locally, use the following command:

pnpm turbo run dev --filter=web

Extension points exported contracts — how you extend this code

JWT (Interface)
(no doc)
apps/web/types/next-auth.d.ts
Session (Interface)
(no doc)
apps/web/types/next-auth.d.ts
NavItem (Interface)
(no doc)
apps/web/types/nav.ts
NavItemWithChildren (Interface)
(no doc)
apps/web/types/nav.ts
CopyButtonProps (Interface)
(no doc)
apps/web/components/copy-button.tsx

Core symbols most depended-on inside this repo

cn
called by 140
apps/web/lib/utils.ts
toast
called by 16
apps/web/hooks/use-toast.ts
useToast
called by 13
apps/web/hooks/use-toast.ts
getTenantId
called by 11
apps/web/lib/auth.ts
flatten
called by 5
apps/web/lib/flatten.ts
dispatch
called by 5
apps/web/hooks/use-toast.ts
drawCircle
called by 3
apps/web/components/landing/particles.tsx
get
called by 3
apps/web/lib/cache.ts

Shape

Function 141
Interface 19
Class 10
Method 7

Languages

TypeScript100%

Modules by API surface

apps/web/components/landing/particles.tsx12 symbols
apps/web/hooks/use-toast.ts9 symbols
apps/web/lib/cache.ts5 symbols
apps/web/components/ui/sheet.tsx5 symbols
apps/web/components/toc.tsx5 symbols
apps/web/components/copy-button.tsx5 symbols
packages/client/src/index.ts4 symbols
apps/web/lib/id.ts4 symbols
apps/web/lib/id-edge.ts4 symbols
apps/web/components/landing/highlighter.tsx4 symbols
apps/web/pages/api/v1/events/[channel].ts3 symbols
apps/web/components/ui/dialog.tsx3 symbols

Dependencies from manifests, versioned

@ant-design/plots1.2.5 · 1×
@asteasolutions/zod-to-openapi4.6.2 · 1×
@chronark/access-policies0.0.1 · 1×
@chronark/prefixed-id0.4.1 · 1×
@chronark/zod-bird0.0.2 · 1×
@clerk/clerk-react4.16.2 · 1×
@clerk/nextjs4.18.2 · 1×
@faker-js/faker8.0.1 · 1×
@headlessui/react1.7.13 · 1×
@highstorm/clientworkspace:* · 1×
@hookform/resolvers3.1.0 · 1×

For agents

$ claude mcp add highstorm \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact