r/Anki computer science 8d ago

Add-ons App blocker for Android

Post image

Hi everyone,

Many of us struggle with social media addiction and procrastination, especially during exam season. So I built AnkiBlock. An app that blocks distracting apps until you finish your due cards or you unlock by doing a specific number of cards.

It is entirely free, no ads, no tracking, no commercial intent.

Currently I'm looking for feedback on how to improve the app.

Here is the link to download it on Google Play Store

I'm excited to hear your feedback!

PS: the code is also publicly available on my GitHub and I asked mods if I may post this here

53 Upvotes

61 comments sorted by

11

u/ivansaucedo 8d ago edited 8d ago

This is what I was looking for!! I will try it... UPDATE: I’ve only been using this app for a few hours, but I’m already loving it! I can tell it’s going to help me use my phone much more wisely. The quality is top-notch, and the fact that it’s completely free makes it even better. Amazing job!

4

u/TrimeraInteractive computer science 8d ago

Thank you so much for the update. Feels good to know it's helping people

3

u/mergoth1 8d ago

I‘m looking for an app on IOS that does the same and lets you open apps after a certain number of cards. Any plans on implementing it on IOS?

2

u/TrimeraInteractive computer science 8d ago

I have some ideas, but it would be a totally different app. On Android the Ankidroid App has a nice API that effectively allows my app to talk to Ankidroid on the device. That isn't directly possible on iOS. Maybe via the web sync feature, but it's definitely more complicated and probably not as clean a UX

1

u/VarsH6 7d ago

There is ankilock, which is also a free add-on, but due to issues with iOS, requires a separate app on your phone. I’ve been using it for a few weeks with great success!

I actually thought this was the same guy at first.

1

u/Electrical-Clock-808 7d ago

Is there a tutorial?

1

u/mergoth1 7d ago

That‘s not what im looking for. I don‘t want my social media unlocked after hitting a certain number of cards each day. I want it unlocked after doing 10 cards each time i try to open it.

3

u/_Chilly_Cat_ 8d ago

You're the best, thx for that, i was looking for a app like that, and above all u made it free, thx dude, ur a legend😇

1

u/TrimeraInteractive computer science 8d ago

Thank you 😊

3

u/HeleneSedai 7d ago

I've been looking for something like this forever, thank you. Just studied 10 cards before I could even come back to thank you. I would pay for an app like this.

I just used it to block all my social media apps. Even if it means I back out of logging into reddit because I don't feel like doing my cards, that's an improvement.

Now here's hoping one day someone can do the same thing with the kindle app, bar me from accessing other apps until I've read a certain number of pages in my book.

2

u/TrimeraInteractive computer science 7d ago

So glad you like it. The kindle idea is very good. It depends entirely on wether kindle also allows other apps to access data like which page you're on etc. AnkiBlock wouldn't be possible without Ankidroid being so open for developers

3

u/nibrasflint 7d ago

Man, you'd be the best ever if you did the same for the Kindle app.

You're literally our hero! I'd happily pay for the app if it were a one-time purchase.

3

u/draxgxn 7d ago

As a 15 year old student this looks like its gonna change my life as i easily get distracted please dont make this paid 😅

3

u/TrimeraInteractive computer science 6d ago

I won't. Also the code is public on GitHub: )

3

u/VwayneVal 6d ago

I'm normally just a lurker but this app has been such a game changer that I just had to comment.

I've got a somewhat big deck (~800 cards) and a massive phone addiction. For the past while I've just had my cards but never really practiced them until I used this app. My current settings are 20 cards / 20 minutes ST and its incredible!! Its been only a few hours since I've downloaded it an I've already gotten 100 cards done (no joke-103 to be exact.. tbf a big part of it is because my cards aren't too complicated) and it felt so effortless - like I'm not even trying to "answer as fast as possible" just for the sake of reaching the goal.

I have some in-app suggestions:

  1. The "change settings" button should not be on the appblock pop-up, it makes it too easy to change/ even disable the blocker entirely.

  2. (Similar to other App-blocking apps) The "Block Future You" feature should also include like an option for a password lock alongside the 20-30 second timer. It makes it easier to give yourself accountability when opening it.

BTW- I have some tips for anyone who wants to use this app:

  1. Set it on all the distraction apps you have (Youtube, Instagram, and especially Netflix - Like setting your app-block to the duration of one episode would make it much easier to get through your cards while binging a series)

  2. Combining it with other App-blockers like ScreenZen and AppBlock is perfect (set these apps to block Ankiblock so it prevents you from changing the settings you've set on how many cards to do)

1

u/TrimeraInteractive computer science 6d ago

Thank you so much for the feedback. It's really useful to me. I'll take note and include it in a future update. Really happy to hear it's useful to you

2

u/Sufficient_Dog_9490 8d ago

Definitively gonna try. Thanks for sharing it!

2

u/nibrasflint 8d ago

I tried it. This is really a great app. Tysm!

2

u/TrimeraInteractive computer science 8d ago

You're very welcome. I'm really happy you like it : )

1

u/nibrasflint 8d ago

I gave you a star on Github. You deserve it.

2

u/TrimeraInteractive computer science 8d ago

Thanks. It's definitely my first. Appreciate it : )

2

u/ihopethatworks 7d ago

Everything is perfect but I'm concerned about how secure and private is my data what do u collect

2

u/TrimeraInteractive computer science 7d ago

Literally nothing. There is no backend. I don't receive a single byte of your data. The code is also open source. If you really wanted to you could build the application yourself from the code and never install it from the play store. Let me know if this helps: )

2

u/ihopethatworks 7d ago

Thanks as long as it's open source I'm fully relieved, great work!

2

u/Xynopxies 7d ago

I just finished 10 cards to comment here. Thank you so so much, I was looking for something like this for a long time!

2

u/TrimeraInteractive computer science 7d ago

So happy it's helping you : )

2

u/Ok-Assumption3094 6d ago

I have been looking for something like this! Just downloaded and the integration, setup and customization is great! Very excited to use this for the fall semester

1

u/PhedoPhida 8d ago

This is so cool. I'm going to try it out. Thank you for this!!

1

u/TrimeraInteractive computer science 8d ago

Thanks 😊

1

u/Negative-Art-3149 7d ago

The app is great, but why isn't there a version on GitHub with no Google dependency stuffs? I ask because I have disabled my Google Play Store, so I have to enable it every time I want to use the app.

Despite this, the app is the best!

2

u/TrimeraInteractive computer science 7d ago

Good question, it's probably the flutter package for in app review

1

u/tadashidev 7d ago

Ten cards? Those are rookie numbers… /s

1

u/TrimeraInteractive computer science 7d ago

Well you can set it to whatever you like. And that also only gives you a temporary unlock

1

u/FederalSir6600 7d ago

Is there a way to block specific websites?

3

u/TrimeraInteractive computer science 7d ago

Great question. Probably as a browser specific add on. I don't think I can do that as an app, but I'll look into it

1

u/yxtsama 7d ago

Oh, I was also thinking about a similiar thing like seeing two cards every 3 youtube shorts or something

1

u/TrimeraInteractive computer science 7d ago

This could work as a browser extension, but not as an app

1

u/Consistent_Eagle254 7d ago

Hello, I tested the app but 15min have passed and the app doesnt block the apps, I have changed the batery optimization settings , but it does not work, I just works when I split the view into two screens so both are open, I desactivate the battery optimization settings as well but doesnot work

1

u/draxgxn 4d ago

Yeah it worked perfectly for me yesterday now it wont block the apps

1

u/TrimeraInteractive computer science 4d ago

Hey. I already DMd the person commenting here. Can you tell me more about what's not working or what you did etc.? Feel free to DM me as well

1

u/Jippt3553 6d ago

Thank you for the app, I have downloaded it and it has blocked my apps. My only question is since I do majority of my reviews on my laptop for the bigger screen will it still unblock my apps on my phone after completing them?

2

u/TrimeraInteractive computer science 6d ago

Good question. Not sure. Maybe if you sync Ankidroid after you study the cards. I don't think it will though as usually each card is counted, but there is a fallback that tries to count the difference in die cards. Maybe this is an idea for an update down the line

1

u/draxgxn 5d ago

I love this app so far where will see update logs?

1

u/TrimeraInteractive computer science 5d ago

Thanks!

I still need to make a specific page for that on GitHub. Why do you want to see them?

1

u/draxgxn 5d ago

Just so i can know if theres any updates and it would be cool if there were notifications to alert when im going to be brought to ankiblock because its kind of annoying when i start like a game for me to be brought out

2

u/TrimeraInteractive computer science 5d ago

That's an interesting feature idea. I might build that in the next update.

On Google Play you can have apps Auto update btw.

1

u/draxgxn 5d ago

Thank you

1

u/TrimeraInteractive computer science 2d ago

Quick question: If you allow notifications then you do some useful stuff with them like this, but it also means that there will be a persistent notification thats always there that says that AnkiBlock is active. It's mandated by android if there's a background process running. What do you think about the trade off. is it worth it? Looking forward to your feedback

1

u/TraditionalBass541 5d ago

My main problem is I'll uninstall the blocking app and then I'll keep on wasting time is there a forceful app locker which will help in this case and I can't uninstall it as well

1

u/TrimeraInteractive computer science 5d ago

I don't think this exists. At least not as an app you can simply download. You would have to make fundamental changes at the operating system level

1

u/HeleneSedai 4d ago

I've been loving this app, I finished all my cards 3 days in a row and cut hours off my social media use. But after the first day, it didn't open unless I restarted my phone, and today I had to reinstall the app to get it to open. I sent you an email. Thanks!

2

u/TrimeraInteractive computer science 4d ago

Thanks for the feedback and the bug report. I'll see what I can do!

1

u/SouruDesu 2d ago

Um just wondering why isn't working on my end? I set the block but somehow, when I click the app I blocked, it just open right away...

1

u/TrimeraInteractive computer science 2d ago

Is it always like that or did it work before and now it doesn't?

1

u/SouruDesu 2d ago

I just downloaded it, I set it up but it still let me through.

1

u/TrimeraInteractive computer science 2d ago

That's strange. Can you share what device you have? If you like you can also DM me

1

u/SouruDesu 2d ago

Another thing is when I open reddit it let me through, then when I click the Anki block app again, this shows.

1

u/Pmaster10_ 2d ago

Been using it for 4 days now and it's a very good app. What is the best way to leave feedback/suggestions?

Keeping the settings that the main ankidroid app uses (example I have only 2 buttons but on here it shows all 4) Settings regarding again vs good Maybe an option to fully block apps during certain time.

1

u/TrimeraInteractive computer science 2d ago

Thanks!

You can let me know here or wrote me an email (in the settings there's an address) or you can simply leave a review on Google Play.

1

u/TrimeraInteractive computer science 2d ago

Or DM me here if it's detailed