Trackion banner

Trackion

39 devlogs
90h 20m 7s

A telemetry aka Analytics tool that can be self hosted and used to see page view or track the projects.

This project uses AI

I have used AI to create dashboard Charts and UI.
In v2 coded UI by myself and not used AI significantly in editor but used ChatGPT and google Gemini and did some prototype with v0 but not copied any code only thought processing mean.
EDIT: Now new UI is built by me and AI is used only to write tests and docs.

Demo Repository

Loading README...

Priyanshu

Shipped this project!

Hours: 35.29
Cookies: 🍪 923
Multiplier: 26.16 cookies/hr

Now Trackion as a desktop client built in rust with tauri..!!
It supports all the features and it is lightweight and fast to use.
Also in this ship…
I have sort of refactored complete project added shared UI and logic code between webapp and desktop client also added versioning to API and removed all unused deprecated components and APIs.

Priyanshu

Finally 3.0 is live…
Now supports Windows Desktop client
better performance, better stability, minimum footprint size and much more

Attachment
0
Priyanshu

Almost done new folder structure and APIs added new shared UI and packages to desktop client also now test if all works without breaking will remove unused code and make a test build.

Attachment
0
Priyanshu

finally done with analytics components and officially all working as of now
Now i need some food will complete this after some refuel ASAP!!!

Attachment
0
Priyanshu

Fixed Error tracking and Session Replay pages using new architecture and APIs (v1).
Now one and only analytics part remaining that will test full webapp and if all works will start working on desktop side and clean backwards compatibility and docs.!

Attachment
0
Priyanshu

New icons and and now using react-form-hook to create and edit the project.
In backend
added v1 version as newer apis has some changes and can break desktop client so far Project mutation is updated and now working on runtime config after that will fix analytics which is big thing.

Let’s see how it goes also didn’t touched desktop yet. time is flying already 30 april last day!!!!

Attachment
0
Priyanshu

Fixing CI
what done
fixed settings, usage, create project and workplace layout components

Attachment
0
Priyanshu

There is alot more work to do.
I have created a PR and there is almost 10k+ lines of code change and everything is broken from ci to build. but working hard. This will make any difference in terms of UI and something that is visible in UI but code is significantly good. I have not used AI so far I found where ever i used it the code is pretty bad.

Attachment
0
Priyanshu

Working to refactor code into proper monorepo with shared packages
currently i would say only 10% is done.!!!
only webapp Let’s see.

Attachment
Attachment
0
Priyanshu

Redesign and implmented Session Replay now using custom player and removed rrweb-player it was bad and i was not able to customize the theme it took me almost a day to figure out and fix

Attachment
0
Priyanshu

I have added downloads page in web client and a banner too about desktop client release.
Now there is alot of things I have done most of the time i wasted today is in github pipelines to build and release desktop client

Attachment
0
Priyanshu

Now,
Patched and ready to release lastly I tried to release but it failed alot i have rewritten github action and let’s see how it goes

Attachment
0
Priyanshu

Working full webapp migration with Successful build
+13,952 lines of code added

Attachment
0
Priyanshu

Building Desktop client
In meantime I have patched a bug in prod auth user creation was not working in v2.1.1 patched in v2.1.2 and now up.

Attachment
0
Priyanshu

gorm typed gen used and fixed flags bug
Now i am replacing raw sql to typed one

Attachment
0
Priyanshu

Stable v2.1.0 released include new awesome session replay feature and fixed some bugs,

Attachment
0
Priyanshu

Added session replay feature that can be enabled from SDK!

Attachment
0
Priyanshu

Shipped this project!

Hours: 24.22
Cookies: 🍪 702
Multiplier: 28.97 cookies/hr

I have updated full UI system and added new features

  • Projects can have feature flags and can create configs that can be updated remotely (remote config)
  • Now Error tracking is also added so if some type error occurs for any user you can catch and fix that
Priyanshu

Finally
Migrated to production with users and live on!!

Attachment
0
Priyanshu

Published Js SDK on npm and tested working fine
also refactored the code and created a separate repo for js sdk and moved examples also

Attachment
0
Priyanshu

Implemented remote config and feature flags UI and stable tested

Attachment
0
Priyanshu

Finallllyy Overview page done
complete revamped with new look and also done optimizations

Attachment
0
Priyanshu

New Settings Page UI
added one usage page and revamped UI

Attachment
Attachment
0
Priyanshu

Updating Dashboard View adding new sidebar and navigation

Attachment
0
Priyanshu

Fixed all public pages UI and revamped with new liner-ish design.
It took time to set plus at corners and css for full screen width line while inside the container with margin.

Attachment
0
Priyanshu

Building v2 with more features like error tracking and feature flags and updating the UI to make it looks clean and fresh
writing UI without AI

Attachment
Attachment
0
Priyanshu

Added a new feature to add runtime config and feature flogs into projects or apps without any problem

Attachment
0
Priyanshu

Migrating from sqlc to gorm as it work fine with adv query easily not Using AI so it is taking time
So far 70% done heavy routes remaining

Attachment
0
Priyanshu

Shipped this project!

Hours: 6.6
Cookies: 🍪 146
Multiplier: 22.14 cookies/hr

I have updated the overall UI of dashboard and landing page also created one demo video that looks awesome
that is on web https://trackion.tech/

Priyanshu

I have updated the UI and added World map that looks awesome

Attachment
0
Priyanshu

UI updates
I got alot of comments on UI so I updated and added my touch to it.

Attachment
0
Priyanshu

Fixed UI bugs and added rate limiting also fixed the docs and readme as commented
Now Docs is at https://trackion.tech/docs

Attachment
0
Priyanshu

Finally!!!
Deployed Trackion it is live at https://trackion.tech
I have hosted backend on Azure with student free tier

Attachment
Attachment
0
Priyanshu

I have fixed the tracking script, added background worker to delete old events.
Added usage middleware for SaaS and patched some UI and APIs

0
Priyanshu

Created Landing Page and about page with some docs.
For I am done with the Public pages UI now focus on fixing authentication and dashboard bugs.

Attachment
0
Priyanshu

Added beautiful charts used recharts and shadcn ui.
It took alot of time finally i can focus on project details pages and leave this dashboard as it is for now.

Attachment
Attachment
0
Priyanshu

Bug fixing and implementing the events aggregation for chart stats looks good for now.

Attachment
0
Priyanshu

Created Dashboard UI.
I have used some if AI to create UI part apart from that in backend AI is not used.
Still fixing UI bugs.

Attachment
0
Priyanshu

I have added authentication with github first time writing Oauth raw and it worked fine also using db session for tokens not JWT.
Finally able to login and create the project now it is time to test

Attachment
0
Priyanshu
  • Added batch events input API
  • Added tracker script with page view, time spent and server side config setup.

May be go is not that bad I always thought it to be not good for me but it is awesome.

Attachment
0
Priyanshu

Implemented event collection route and route to create a project.
Now, I need to do some cleanup and create a script that can be added on websites.

Attachment
0
Priyanshu
  • setup go project
  • As i am learning go and making this project in that. It is fun to use it and so far i have not used AI code anywhere watched some youtube videos and as of now I am working to validate request body.
Attachment
0