#OxiTraffic

Mo Bitar :ferris:mo8it@fosstodon.org
2025-03-26

Huh, my (old-ish) post about #Podman #Quadlet apparently landed on the front page of Hacker News two days ago 🀯

news.ycombinator.com/item?id=4

I noticed it after seeing an unexpected spike in #OxiTraffic:
oxitraffic.mo8it.com

Mo Bitar :ferris:mo8it@fosstodon.org
2024-08-24

Released a new version of #OxiTraffic to use the new version of #SQLx that fixes the following database security vulnerability:

⚠️ RUSTSEC-2024-0363
rustsec.org/advisories/RUSTSEC

Also replaced Askama with #Rinja for the templates. The migration was trivial πŸ˜ƒ

Mo Bitar :ferris:mo8it@fosstodon.org
2024-04-08

@billy Since #OxiTraffic is written in Rust and is optimized, it only uses 4MB of RAM (11MiB with shared memory) and almost no CPU time.

About 6MB is used by the dedicated PostgreSQL database. But you can of course share the database if you want to save resources.

You can see the stats that Podman reports about the containers.

In comparison, one backend I wrote in Python with Flask uses about 550MB and keeps the CPU busy…

The output of `podman stats OXITRAFFIC_CONTAINER OXITRAFFIC_DB_CONTAINER`

The memory used by OxiTraffic is under 4MB. The PostgreSQL database uses less than 6MB.
Mo Bitar :ferris:mo8it@fosstodon.org
2024-04-08

@billy This is a good idea and definitely something an app developer would like to know about. But this is out of scope for OxiTraffic.

#OxiTraffic's main goals is being very simple and only tracking visits and their durations. It is easy to trust and the JS script is tiny.

It is also focused on normal websites like blogs instead of apps.

I would recommend taking a look at Motomo or Plausible for event tracking.

Adblockers blocking anonymous telemetry: @mo8it wrote a blog article on the experience of using #OxiTraffic for privacy preserving telemetry and how this still ended up with my site being featured on #EasyList, a default blocklist of #uBlockOrigin

I don't have a good solution here but I am pretty sure there is a problem

https://mo8it.com/blog/privacy/

Mo Bitar :ferris:mo8it@fosstodon.org
2023-11-23

πŸ”ͺ Killing in the name of Privacy

mo8it.com/blog/privacy

How an AD blocker killed my work of months and how is this related to telemetry in #FOSS

#OxiTraffic #Linux #IndieWeb #Privacy #AdBlock #AdBlocker #uBlockOrigin #Blog #Telemetry #Analytics #OpenSource #Selfhosting #Selfhosted

A screenshot of https://mo8it.com/blog/privacy
Mo Bitar :ferris:mo8it@fosstodon.org
2023-11-21

This really breaks my heart 😭

github.com/easylist/easylist/i

I spent so much time polishing #OxiTraffic just for it to be blocked by an AdBlocker 🚫

I developed it in the first place to protect #privacy!
I don't collect any personal data or anything that can help identifying a user on the web.
No IP, no cookies, no User-Agent… How is this bad for privacy?

It is fully free and open source, you can just read the commented blocked script.

#uBlock #uBlockOrigin #AdBlock #AdBlocker #EasyList

Mo Bitar :ferris:mo8it@fosstodon.org
2023-11-18

I hate timezones 😣

They lead to very "interesting" bugs that are very hard to debug.

I am currently fixing a bug that can occur only between 00:00 and 01:00 on my #OxiTraffic instance.

You know why? Because Germany still likes to change its timezone twice a year.

It would be a dream for every #developer if the whole world would just use UTC.

You can get a taste here:
youtube.com/watch?v=-5wpm-gesO

Mo Bitar :ferris:mo8it@fosstodon.org
2023-11-01

#OxiTraffic, a self-hosted, simple and privacy respecting website traffic tracker 🌐

➑️ Demo: oxitraffic.mo8it.com

I just published version 0.6 with a #Docker image! πŸ“¦οΈ
(You don't have to use Docker though)

Do you have a #blog?
I can host it for you if you want to test it with your website :blobcatheart:

Of course, it is written in #Rust πŸ¦€
Check out the README, I spent a lot of time on it πŸ˜‡
codeberg.org/mo8it/oxitraffic

Boost? πŸ”ƒπŸ₯°

#SelfHosted #IndieWeb #FOSS #Analytics #Traffic #RustLang #Axum

A screenshot of https://oxitraffic.mo8it.com/
2023-08-06

@mo8it #oxitraffic looks like a great little tool, thanks for your efforts!

Can it also show how long people spend on a page?

Mo Bitar :ferris:mo8it@fosstodon.org
2023-08-06

What database do you prefer as a user of a self-hosted app? :blobthinkingeyes:

I want to support only one for
#OxiTraffic

PostgreSQL is much more flexible and powerful from a developer point of view. It can also scale much better just in case.

But SQLite does not require additional hosting. It is one file that can be automatically created by the app itself.

Comments on your choice are appreciated :ablobcatheart:

#SelfHosted #IndieWeb #RustLang #Rust #SQLite #PostgreSQL #Developer #FOSS

Mo Bitar :ferris:mo8it@fosstodon.org
2023-08-02

I released some updates to #OxiTraffic, a self-hosted, simple and privacy respecting website traffic tracker 🌐

codeberg.org/mo8it/oxitraffic

I improved the design, added more stats and fixed some bugs ✨

Demo: oxitraffic.mo8it.com

Any feature suggestions? :ablobcathappypaws:

I can host it for you if you want to test it with your website :blobcatheart:

BTW, my Rust vs Julia blog post is still exploding 🀯

#RustLang #Rust #Analytics #Traffic #Selfhosted #Indieweb

Screenshot of the dashboardScreenshot of the stats of one page
Mo Bitar :ferris:mo8it@fosstodon.org
2023-07-30

#OxiTraffic: Self-hosted, simple and privacy respecting website traffic tracker 🌐

A #Rust web app that I did write with #Axum to see how many read my blog posts 🧐

I did just publish a version which I consider ready for public usage πŸ€—

The screenshot shows the call history of one of my blog posts πŸ“ˆ

Check out the README for a demo and more details about how it works and how you can host it:

codeberg.org/mo8it/oxitraffic

#RustLang #Selfhosted #Analytics #IndieWeb

Screenshot of the call history of one of my blog posts.

https://oxitraffic.mo8it.com/dashboard/stats?path=/blog/rust-vs-julia

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst