πŸ“¦ ronitrajfr / ayoni

Open-source web analytics built for modern websites β€” simple, fast, and easy to use.

β˜… 14 stars β‘‚ 3 forks πŸ‘ 14 watching βš–οΈ MIT License
analyticsnext-authnextjspostgresqlprismashadcntypescript
πŸ“₯ Clone https://github.com/ronitrajfr/ayoni.git
HTTPS git clone https://github.com/ronitrajfr/ayoni.git
SSH git clone git@github.com:ronitrajfr/ayoni.git
CLI gh repo clone ronitrajfr/ayoni
Ronit Raj Ronit Raj Merge pull request #3 from ronitrajfr/new_feat 5154fc5 5 months ago πŸ“ History
πŸ“‚ main View all commits β†’
πŸ“ prisma
πŸ“ public
πŸ“ src
πŸ“„ .env.example
πŸ“„ .gitignore
πŸ“„ bun.lockb
πŸ“„ components.json
πŸ“„ eslint.config.js
πŸ“„ LICENSE
πŸ“„ next.config.js
πŸ“„ ogayoni.png
πŸ“„ package.json
πŸ“„ README.md
πŸ“„ tsconfig.json
πŸ“„ README.md

Say Hello to Ayoni

header image

Key Features:

  • ⚑ Simple Integration: Add one script tag to your website β€” that’s it.
  • 🌐 Website Analytics: Track real-time page views, top pages, referrers, browsers and devices.
  • πŸ“ˆ Custom Dashboard: View beautiful, clean analytics in your own dashboard.

πŸ“„ How to Use Ayoni

  • Create a Website:
  • Go to the dashboard.
  • Add your site name and domain.
  • Copy the Tracking Script:
Paste this into your website's <head>:

<script
     async
     src="https://ayoni.vercel.app/tracker.js"
     data-website-id="YOUR_WEBSITE_ID"
   ></script>

  • View Analytics:
  • Open the dashboard.
  • Select your website to view page views, top URLs, browsers, and more.

Tech Stack:

  • Nextjs
  • TypeScript
  • Shadcn
  • Postgres
  • Prisma
  • Tailwind
  • NextAuth

Setting up locally

git clone https://github.com/ronitrajfr/Ayoni.git
cd Ayoni
bun install

Change .env.example to .env, then add the PostgreSQL url (you can get one for free from NeonDB) and Google secret and client id & uploadthing keys.

And then run :

bun run dev