frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: MBCompass – Android Compass App

https://github.com/MubarakNative/MBCompass
61•nativeforks•1d ago
Hey HN,

I built MBCompass, a lightweight, privacy-friendly compass app for Android. It works fully offline, doesn’t ask for unnecessary permissions (no GPS, no internet), and is open source.

Most compass apps out there are bloated or ad-heavy. I wanted something clean, fast, and featurish. So I made this!

It’s only ~1.7 in size and uses a low-pass filter to smooth sensor readings.

I’d love feedback or thoughts – especially from others building simple, privacy-first apps!

https://f-droid.org/packages/com.mubarak.mbcompass/

https://github.com/MubarakNative/MBCompass

Comments

anonymousiam•1d ago
Internet is useful for updating the declination "constants" for your location. Otherwise, the compass is not really very accurate in all locations.

https://www.rei.com/learn/expert-advice/compass-declination....

nativeforks•1d ago
My next milestone is to implement magnetic declination correction using GPS. That way, the app can provide more accurate results by adjusting magnetic readings to true north while still respecting user privacy. Thanks for the great suggestion!
advisedwang•1d ago
Do you really need a DB lookup for declination? I'd imagine it can be worked out from lat/long and a single stored magnetic north location (although I suppose that might need updating).
nativeforks•1d ago
Yeah, magnetic declination can be calculated using just lat/lon from GPS location.
leecommamichael•1d ago
Does Android not have a Compass app?
nativeforks•1d ago
Yeah, all Android phones have compass apps or Google Maps features. But MBCompass is unique because it’s fully open source, privacy-friendly, and super lightweight — no ads or trackers, and works offline. Plus, it shows your location on an OpenStreetMap-based map, which most compass apps don’t have.

Thanks for asking! :)

BoorishBears•1d ago
AOSP doesn't even have a calculator anymore, I'm not sure it actually has a compass.
nativeforks•1d ago
Exactly — AOSP dropped a lot of basics. That’s part of why I built MBCompass. :)
skeledrew•1d ago
Hmm I don't recall ever seeing one on early devices (been using Android since Cupcake), and there definitely isn't one on my current (OnePlus 12, Android 15). Always had to download from the Market/Store when needed.
weinzierl•1d ago
I am curious what your experience with a free and ethical app in a walled garden will be.

I had a similar idea. About two years ago my kid was playing a simple mobile game with her friends a lot. There are many variations of the game theme but they are all ad infested privacy nightmares listlessly fiddled together.

I thought we could do better and make a good and ethical version - also as an educational project. The game turned out well, but we haven't published it yet. It is still planned, but I had to learn free apps apparently are an uphill battle in walled garden ecosystems.

If you think about it, it makes sense: Apple and Google don't like to get their 30% cut from nothing. I believe that is the deeper reason apps like ours are so rare.

nativeforks•1d ago
Totally agree — it's tough putting something ethical and free into platforms that are built around ads and in-app purchases. I released MBCompass on F-Droid first for that reason, and I’m still figuring out how to reach users who care about privacy and simplicity.
2Gkashmiri•1d ago
Please do. You can host on both fdroid and Google play / app store for free. F droid constantly needs high quality apps and passion projects are enjoyed by the community well.

I spent a lot of time doing free QA for F-droid apps exclusively and there are a lot of people who do that

nativeforks•1d ago
Thanks! I don’t have a Play Store account yet due to budget, but this is on my to-do list.
2Gkashmiri•1d ago
You can start on f droid and maybe people can chip in to fund that
nativeforks•1d ago
Yeah, that’s the plan! Honestly, building apps like this is tough — especially when aiming for unique features, keeping the app lightweight, and staying up-to-date with the latest tech stack. Support from the community really helps keep it going. :)
2Gkashmiri•10h ago
link me up when yours is online.
nativeforks•9h ago
Thanks, I will do it.
joshstrange•1d ago
> free apps apparently are an uphill battle in walled garden ecosystems.

How so? I manage well over 10 App Store Connect and around 7 Android Play Store accounts all with 1-3 apps in them, all free, no IAP, no cut for Apple. I've never felt like it was an uphill battle.

While the app review process is incredibly flawed, I haven't experienced anything that paid apps or apps using IAP run into as well. As in, free apps aren't "targeted" in any way I can see.

nativeforks•1d ago
Appreciate your perspective — and I agree, technically, free apps can be published without issue. But from my experience (and others I've followed in the FOSS space), the “uphill battle” isn't about being blocked or targeted — it’s more about discovery, sustainability, and alignment with the platform’s incentives.

On stores like Google Play, the design favors apps with ad revenue, IAPs, or growth metrics — not minimal, ethical apps with no monetization. Free, privacy-respecting tools often get buried or flagged for things like lack of user engagement, sparse permissions, or not following monetization guidelines (like not using Google’s billing).

That’s why I released my app, MBCompass, on F-Droid first. It's where users expect simple, ethical apps — and where visibility isn't tied to commercial strategy.

So yeah, free apps aren't “targeted,” but the environment isn’t really designed to support or surface them either.

joshstrange•1d ago
Ahh, yes. Getting customers or even showing up in search is a whole different ballgame.

Thankfully, I don’t have mess with any of that. All the apps I oversee are companion apps to another service. I’m not trying to attract people _on_ the AppStore to my app. People get the app because they use the service.

nativeforks•1d ago
That makes a lot of sense — but apps like mine in the “Compass” category really struggle to stand out among countless bloated, ad-filled apps with hundreds of millions of downloads.
skeledrew•1d ago
What's the incentive to "stand out" though if there is no monetization? It seems to me if there is no motive beyond just publishing an ethical X, then if users find it, they find it, and if they don't, they don't. And those looking for ethical apps (by your implied definition) will probably find it too; I've found a decent amount by filtering out apps with ads and IAP. Although TBF I use Aurora Store, and am unsure if the filter is available in the native Play Store app.
esafak•1d ago
Can you make it a widget so it stays on the screen?
nativeforks•1d ago
Thanks for the great idea! I’ve noted it down and will look into it for a future update
esafak•1d ago
Try charging 99c for the widget...
nativeforks•1d ago
I think instead of charging for app features, I’d prefer to add a donation page — if users like the app, they can support it. If not, no problem — it’ll always be free to use.
nativeforks•1d ago
@skeledrew Fair question! For me, the drive comes from passion and the joy of building something clean and useful. It’s less about standing out for fame, more about being found by the right people — folks who value FOSS, privacy, and ethical software. And yeah, alternative stores like Aurora or F-Droid make that discovery easier. :)
AshamedCaptain•1d ago
My favorite simple compass app is https://github.com/Kr0oked/Compass which is also on f-droid.

Pretty snappy, almost matches the refresh rate and latency of the iphone's compass app.

TFA looks way more sluggish, but I guess it is an effect of the smoothing.

nativeforks•1d ago
Thanks for the comparison! Yeah, MBCompass applies smoothing intentionally to reduce jitter on noisy sensors — especially on low-end devices. That can make it look a bit less snappy, but I'm working on making it more responsive without sacrificing stability. Appreciate the feedback!
h-c-c•1d ago
Why does this app need network permissions?
nativeforks•1d ago
Good question! It needs network permission only to load the OpenStreetMap tiles for showing your location on the map. No data is collected or sent anywhere — privacy is a core focus. :)
ianburrell•1d ago
It would be really useful if it could show true north in addition to magnetic north. The location should give you declination.
nativeforks•1d ago
Thanks! I’ve actually already answered this earlier in the thread — true north using declination based on location is my current milestone. I know how important it is for a modern compass app and am working on it

Deep learning gets the glory, deep fact checking gets ignored

https://rachel.fast.ai/posts/2025-06-04-enzyme-ml-fails/index.html
159•chmaynard•1h ago•15 comments

Destination: Jupiter

https://clarkesworldmagazine.com/liptak_06_25/
56•AndrewLiptak•3h ago•19 comments

A deep dive into self-improving AI and the Darwin-Gödel Machine

https://richardcsuwandi.github.io/blog/2025/dgm/
25•hardmaru•2h ago•2 comments

Show HN: Ephe – A Minimalist Open-Source Markdown Paper for Today

https://github.com/unvalley/ephe
12•unvalley•38m ago•1 comments

Quarkdown: A modern Markdown-based typesetting system

https://github.com/iamgio/quarkdown
565•asicsp•15h ago•240 comments

The Small World of English

https://www.inotherwords.app/linguabase/
109•michaeld123•8h ago•54 comments

Show HN: AirAP AirPlay server - AirPlay to an iOS Device

https://github.com/neon443/AirAP
118•neon443•3h ago•14 comments

Show HN: An Alfred workflow to open GCP services and browse resources within

https://github.com/dineshgowda24/alfred-gcp-workflow
31•dineshgowda24•3h ago•7 comments

Show HN: Localize React apps without rewriting code

https://github.com/lingodotdev/lingo.dev
53•maxpr•5h ago•40 comments

Activeloop (YC S18) Is Hiring Senior Back End and AI Search Engineers(Onsite, MV)

https://careers.activeloop.ai/
1•davidbuniat•2h ago

(On | No) Syntactic Support for Error Handling

https://go.dev/blog/error-syntax
271•henrikhorluck•7h ago•340 comments

Ask HN: Options for One-Handed Typing

53•Townley•4h ago•60 comments

CVE-2024-47081: Netrc credential leak in PSF requests library

https://seclists.org/fulldisclosure/2025/Jun/2
36•jupenur•4h ago•6 comments

The Shape of the Essay Field

https://paulgraham.com/field.html
48•luisb•13h ago•32 comments

Show HN: Controlling 3D models with voice and hand gestures

https://github.com/collidingScopes/3d-model-playground
77•getToTheChopin•8h ago•17 comments

Show HN: I wrote a Java decompiler in pure C language

https://github.com/neocanable/garlic
137•neocanable•11h ago•68 comments

Swift at Apple: Migrating the Password Monitoring Service from Java

https://www.swift.org/blog/swift-at-apple-migrating-the-password-monitoring-service-from-java/
173•fidotron•6h ago•128 comments

Can adults grow new brain cells?

https://www.livescience.com/health/neuroscience/can-adults-grow-new-brain-cells
40•bookofjoe•2h ago•13 comments

Show HN: Gradle plugin for faster Java compiles

https://github.com/elide-dev/gradle
7•sgammon•3h ago•4 comments

Vision Language Models Are Biased

https://vlmsarebiased.github.io/
109•taesiri•10h ago•86 comments

Yoshua Bengio Launches LawZero: A New Nonprofit Advancing Safe-by-Design AI

https://lawzero.org/en/news/yoshua-bengio-launches-lawzero-new-nonprofit-advancing-safe-design-ai
38•WillieCubed•2h ago•23 comments

There should be no Computer Art (1971)

https://dam.org/museum/essays_ui/essays/there-should-be-no-computer-art/
69•glimshe•13h ago•102 comments

Builder.ai Collapses: $1.5B 'AI' Startup Exposed as 'Indians'

https://www.ibtimes.co.uk/builderai-collapses-15bn-ai-startup-exposed-actually-indians-pretending-bots-1734784
270•healsdata•10h ago•174 comments

Polish engineer creates postage stamp-sized 1980s Atari computer

https://arstechnica.com/gadgets/2025/06/polish-engineer-creates-postage-stamp-sized-1980s-atari-computer/
7•dangle1•44m ago•0 comments

Show HN: PinSend – Share text between devices using a PIN(P2P, no login)

https://pinsend.app
50•avovsya•8h ago•29 comments

Plutonium Mountain: The 17-year mission to guard remains of Soviet nuclear tests

https://www.belfercenter.org/publication/plutonium-mountain-inside-17-year-mission-secure-legacy-soviet-nuclear-testing
75•jmillikin•13h ago•43 comments

Fun with Futex

https://blog.fredrb.com/2025/06/02/futex-fun/
73•ingve•16h ago•20 comments

The Metamorphosis of Prime Intellect (1994)

https://localroger.com/prime-intellect/mopiall.html
144•lawrenceyan•19h ago•67 comments

Covert Web-to-App Tracking via Localhost on Android

https://localmess.github.io/
245•sebastian_z•11h ago•195 comments

Implementing a Forth

https://ratfactor.com/forth/implementing
108•todsacerdoti•3d ago•41 comments