https://github.com/ikram-maulana/kakureta
👁️ Kakureta is a simple and lightweight API to solve Umami Analytics issue with Anti-Adblockers
https://github.com/ikram-maulana/kakureta
ads-blocker anti-tracker honojs umami-analytics vercel
Last synced: about 1 month ago
JSON representation
👁️ Kakureta is a simple and lightweight API to solve Umami Analytics issue with Anti-Adblockers
- Host: GitHub
- URL: https://github.com/ikram-maulana/kakureta
- Owner: Ikram-Maulana
- Created: 2025-01-31T04:13:07.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-02-22T04:58:59.000Z (2 months ago)
- Last Synced: 2025-02-22T05:26:11.258Z (2 months ago)
- Topics: ads-blocker, anti-tracker, honojs, umami-analytics, vercel
- Language: TypeScript
- Homepage: https://kakureta.ikram.is-a.dev
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kakureta 👁️
Kakureta is a simple and lightweight API to solve Umami Analytics issue with Anti-Adblockers. This project build with [Hono](https://hono.dev/) and [Vercel](https://vercel.com/) integration.
## Usage
1. **Fork and Clone**: Fork this repository and clone it to your local machine.
2. **Install Dependencies**: Run `bun install` to install all necessary dependencies.
3. **Configure Environment**: Add your Umami URL to the `.env` file:```bash
UMAMI_URL="your-umami-url"
```4. **Customize Script Name**: If desired, change the `scriptName` variable in `api/index.ts` to your preferred value.
## Deploy from Vercel
Before deploying code to Vercel, you need to make `.env` file with the following content:
```bash
UMAMI_URL="your-umami-url"
```Then, you should add the environment variable to Vercel with the following command:
```bash
vecel env add UMAMI_URL your-umami-url
```After that, you can deploy the code to Vercel with the following command:
```bash
bun run deploy
```## Connecting Your Project to This Worker
You can connect your project to this worker with the following code:
```typescript
...rest of the code...rest of the code
```## Resources
- [Vitobotta](https://github.com/umami-software/umami/discussions/1026)