@kazord Thanks that would be amazing
Posts made by beli3ver
-
RE: Who wants to maintain uAdBlock (Backend / App)
-
Who wants to maintain uAdBlock (Backend / App)
Good day,
For the last few years I have been managing, guiding and developing uAdblock.
But for personal reasons, I just don't find the time for it anymore.
The server that currently delivers the lists will expire at the end of the month.I am looking for someone who wants to take over the domain and the development.
I provide the backend (scripts) and the domain for a move.
If no one comes forward by the end of the month, unfortunately it will not work after that.Many greetings
Malte -
RE: uAdBlock is back again
Currently, there is a broken version in the store.
The new clickable 7 break the build process.
Will fix it soon. -
uAdBlock is back again
Good morning,
thanks to the help of the community, the backend service for the uAdblock project has been redeveloped.
Through this new development, it is possible to provide much more resource efficient and faster the lists for all users.
Thus, the maintenance effort has decreased by almost 90%, which allows me to continue to provide the service to you.Thus, all services are back online, backend and domain, and it follows in the course of the next 48 hours an update of the app, which even adds 4 additional lists and fixes some minor errors.
I would like to thank the community for their support, be it financial, cooperation or just sympathy, which has shown me how important this project is for everyone.
-
RE: Why uAdBlock currently no longer works
So, new version of uAdBlock server is online, mega performant and doesn't eat resources anymore. In addition, after a new review of the app by Brian, there will be a new version with 4 new lists and fix some bugs.
-
RE: Why uAdBlock currently no longer works
@aarontheissueguy Thank you, this means so much to me.
Well, not only the advertising people spend a lot of money, also preventing the advertising costs a lot of time and money. -
RE: Why uAdBlock currently no longer works
@beli3ver I'm about to put the server online again and leave it online with updated lists until the end of February. After that we have to look
-
Why uAdBlock currently no longer works
Good morning dear Ubuntu Touch as well as uAdBlocker users,
as some of you may have noticed, currently no updates work for uAdBlock or a reinstallation, because no lists are provided.
I have currently paused the server and would like to briefly put down the reasons here. I took over the development from Mario a few years ago and put a lot of time and love into it.
The app includes not only what runs on your phones, but also the backend. This runs on my server. Currently we have 13 lists, which in all possible combinations comes to a total file size of almost 400 GB.The server currently updated and rebuilt the lists every Sunday night for more than 7 hours. All lists are also scanned for duplicate entries and removed, so you don't have to download such a large file when setting up the app. The largest list (all 13 together) was still about 100 MB at the end.
Unfortunately, with the size of the lists also the requirements on the servers grew, here are the stats of the current server:
- CPU: Intel Xeon Gold 6140 / 6230 (6 cores dedicated)
- 32GB Ram
- 960 GB SSD disk
The costs for the server and the domain are 25 Euro per month. Unfortunately, this is not all, the servers are exposed to aggressive attacks 5 to 7 times a month on average. Of course I have taken security measures, but currently I have to put 5 - 7 hours of work into the server per month.
Actually, once on the server also ran private services from me, such as a mail server or Nextcloud, that I've taken down everything, so that uAdBlock really has as much power as it needs available.
Unfortunately, I currently don't have time to carry this effort in time and cost anymore. I tried many ways like Github and Gitlab to host the lists, but here the limit is only 10 GB, so that wasn't a solution either. Also came over donations regrettably almost no support to min. the costs to carry, so my donations amount currently to 0.62 € per month.
I am very happy about the donations and the development is fun for me, but unfortunately I don't have the time, besides my job and family with 3 children, to maintain a server for 10 hours a month and then also to develop the app further.
I don't know if I will shut down the project forever, but currently it is not sustainable for me. Especially the costs.
I hope this is understandable here.
Someone else is welcome to take over the project, and I would of course also provide the backend on the server.
-
RE: Push Notification not working
@kugiigi maybe you can help me.
I am really stuck.
I have integrated Push Notifications as it is written in the Wiki. I also have a function that sends the token to my server, I get that too.Now the question, the function above is used to send a notification from my server to the Ubuntu server or does this code have to be called into the app because it gets called when the Ubuntu server sends a notification to the app?
-
RE: Push Notification not working
Ok I wrote TOKEN to not post my real token.
But I think I found my mistake. I guess that the code snippet must be in the app as well?
Currently I'm running it on the server and thought that this way I send notifications to the client, so I guess that was my mistake
-
Push Notification not working
Good morning,
I am currently trying to integrate push notification for the app "uAdBlock". For this I proceeded like in the Wiki.
Now I have a token. To test if everything works, I wanted to send a test message with this snippet:var req = new XMLHttpRequest(); req.open("post", "https://push.ubports.com/notify", true); req.setRequestHeader("Content-type", "application/json"); req.onreadystatechange = function() { if ( req.readyState === XMLHttpRequest.DONE ) { console.log("✍ Answer from push service:", req.responseText) var ans = JSON.parse(req.responseText) if ( ans.error ) { console.log(ans.error) if ( ans.message ) { console.log(ans.message) } } } } var approxExpire = new Date () approxExpire.setUTCMinutes(approxExpire.getUTCMinutes()+10) req.send(JSON.stringify({ "appid" : 'uadblock.mariogrip_uAdBlock', "expire_on": approxExpire.toISOString(), "token": 'TOKEN', "data": { "notification": { "card": { "icon": "notification", "summary": "Push Notification", "body": "test", "popup": true, "persist": true }, "vibrate": true, "sound": true } } }))
But nothing happens and in the console the answer from the server is empty. Have I forgotten anything? Maybe someone can help me?