What's new

uiDivStats CPM dollar value graph UI enhancement

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

shinbo

New Around Here
I'm looking to get my feet wet a bit when it comes to Asuswrt-Merlin development and I feel like what I want to do is mostly captured in uiDivStats functionality. I'm not sure how popular it would be, but it could be a setting I could issue a PR to the repo for a future release or could just be a fork if others want. My thought would be to fork the source code to add some functionality to poll advertising agencies APIs for their CPM rates, then correlate to the count of ads blocked to determine roughly the ad revenue the router is blocking.

Is this a dumb idea? Maybe data isn't available real time from ad agencies 🤷‍♂️? Maybe uiDivStats users don't care? I'm just looking for a simple task to get my feet wet as I've said. With all this in mind I've poked at the source code for uiDivStats, it's a bash script and some JavaScript/Html mostly. Is there anything that I need to understand specifically working with Asuswrt-Merlin applications? Is the JavaScript calling "functions" from the bash script?

Any help or guidance to general discussions about development in this space and getting started would be appreciated :).
 
My thought would be to fork the source code to add some functionality to poll advertising agencies APIs for their CPM rates, then correlate to the count of ads blocked to determine roughly the ad revenue the router is blocking.

Hehe - conversely it could be used to determine the CPM, and engage with false clicks via curl or wget, and seeing how the revenue would build up over time...
 
I've poked at the source code for uiDivStats, it's a bash script and some JavaScript/Html mostly.
I traditionally work with .Net, if I compile it would that work for Asuswrt-Merlin? It's cross platform and afaik my router is running ARM Linux.

I don't see a good way to get value of advertisements. I think they keep that close to their heart. Would anyone have another idea I could attempt?
 
I traditionally work with .Net, if I compile it would that work for Asuswrt-Merlin? It's cross platform and afaik my router is running ARM Linux.

I don't see a good way to get value of advertisements. I think they keep that close to their heart. Would anyone have another idea I could attempt?

Unfortunately there is no C# or .Net foundation class support - it's embedded linux, as you mention - it's on ARM...
 
Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top