Open-source project
yjeanrenaud/yj_nearbyglasses avatar
yjeanrenaud/yj_nearbyglasses

yj_nearbyglasses: it matches a company ID, not a device

attempting to detect smart glasses nearby and warn you

2,630 stars115 forksKotlinAGPL-3.0

At a glance

What is it?
An Android and iOS app that scans Bluetooth advertising frames, reads the manufacturer company code out of the packet header and warns you if it belongs to a company that makes smart glasses. The page warns twice before it describes anything, admits false positives are likely, says the author is not a professional developer, and tells you that confronting someone with the app can be a criminal offence.
Who is it for?
This app is worth reading as a worked example of a narrow Bluetooth heuristic, and worth installing only if you understand what it is actually detecting. Three things decide whether it is useful to you.
Can I use it commercially?
Yes, with strict conditions. AGPL-3.0 is a network copyleft licence: if people use a modified version over a network, for example as a hosted service, you must offer them its source code under the same licence.
Is it still maintained?
Yes. The repository last received commits 23 days ago.
What is it written in?
Mainly Kotlin, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 24, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • yjeanrenaud/yj_nearbyglasses2,630 ★ · +239
Star history
Repository2026-09-292026-11-24
yjeanrenaud/yj_nearbyglasses2.4k2.6k

239 Stars in the last 56 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

The first thing on the page is a warning that using the app can be a crime

Before the app is described, there are two warning blocks. The second one says that harassing someone because you think they are wearing a covert surveillance device can be a criminal offence, that it may even be a more serious offence than using such a device, and that the reader should seek legal advice about their local laws. A third line says, in capitals, not to harass anyone at all. Then the description begins, and it is one sentence: look for smart glasses nearby and warn you. That ordering is the design decision worth noticing. An app that reports on the behaviour of a stranger in a public place creates a direct route from a notification to a confrontation, and the author has put the warning about that route above the description of the feature. The alert text in the app is designed to be read by a person standing near another person, which is exactly the situation the warning is about.

A second warning says name hijackers are using the name in both app stores

The other warning is aimed at people looking for the app rather than people using it. It names a specific web address and states plainly that it is not related to the project, and says that many apps in both the Play Store and the App Store look like, or are even called, very similar things, that they seem to hijack the name for quick profit, and that they do not follow the same open source licence. It ends with the author stating that they do not endorse those apps. This is a small thing that costs an author nothing to omit and a lot of trust to omit wrongly, because a warning like this is exactly what a person needs when they are about to install a stranger's application that claims to detect recording devices. The name is generic enough to be worth taking, and the project responds by publishing the legitimate store links, a licence file and a separate privacy document at the repository root.

Detection is a company code lookup, and the page says it is a heuristic

The mechanism section is unusually candid, beginning by calling the approach a simple rather heuristic one, and then explaining why nothing better is available. Bluetooth low energy uses randomised hardware addresses, the identifiers it does expose are not stable, and the service UUIDs in advertisements are not persistent, so you cannot simply scan for a device's beacon. Some manufacturers use proprietary Bluetooth services, which makes it worse. There is a crossed-out line in that paragraph, struck through, that had proposed relying on the advertised device name, which tells you that approach was tried and abandoned. What remains is the manufacturer company code carried in the advertising packet header, matched against the registry of assigned numbers maintained by the Bluetooth standards body, and the page notes those assigned numbers are immutable and mandatory, which is what makes them the one stable thing to match on.

Five company codes are named, and one payload spells the product name in ASCII

The page lists the identifiers it matches, with hex values. Two belong to Meta entities, one of them the parent company formerly known as Facebook and one the hardware subsidiary. One belongs to the Italian eyewear group that manufactures the Meta glasses. One belongs to Snapchat, named as the maker of its spectacles. One belongs to a Chinese technology company, named as the maker of two devices. The debugging material in the same section is the best illustration of the whole technique, because it shows a real captured advertising frame:

code
Frame 1: Advertising (ADV_IND)
Time:  0.591232 s
Address: C4:7C:8D:1E:2B:3F (Random Static)
RSSI: -58 dBm

Flags:
  02 01 06
    Flags: LE General Discoverable Mode, BR/EDR Not Supported

Manufacturer Specific Data:
  Length: 0x1A
  Type:   Manufacturer Specific Data (0xFF)
  Company ID: 0x058E (Meta Platforms Technologies, LLC)
  Data: 4D 45 54 41 5F 52 42 5F 47 4C 41 53 53

Service UUIDs:
  Complete List of 16-bit Service UUIDs
  0xFEAA

Three things are visible in that dump. The company number is the field the app matches on. The address is marked as a random static one, which is the same instability the mechanism section complains about. And the payload decodes, byte by byte, into readable ASCII identifying the Meta glasses, which is the strongest evidence in the repository that the approach works at all, and also the reason the tool reports the same company for a headset. The signal strength figure in that dump is the term the page explains separately, for readers who do not know it.

The canonical false positive is a headset from the same manufacturer

The page returns to this point three separate times, which is unusual and appropriate. It says that company codes are prone to false positives because the same companies make other Bluetooth products, naming virtual reality headsets as the example, and it says twice more that false positives are likely and that the app may notify you of glasses when the device is in fact a headset or another product from the same company. It also states the opposite failure, that the app may miss smart glasses that are nearby. The mechanism explains why: the code identifies a company, and a company that makes glasses also makes other things that broadcast Bluetooth. The sentence that would put a boundary on this, beginning with a hypothetical about not being able to see a headset nearby, is where the visible text of the page ends, so the author's own attempt to delimit the false positive is cut off mid-thought.

The exported log is a record of the company codes near you

The privacy claims are specific and mostly reassuring. The app does not store details about you and does not collect information about you or your phone, there is no telemetry and no ads, and the page adds the carve-out that installing through the Play Store means the platform may know something about you and collect some statistics, while the app itself does not. Logs are recorded only on the device and are not automatically shared with anyone. But the same paragraph says the logs contain little sensitive data, in fact only the manufacturer codes of the Bluetooth devices encountered, and that whether you export the log at all is up to you and your liability as to where that data goes. Those two statements are in tension in a way worth naming. A log of the company codes broadcast by every branded device near you is a record of who was near you, and the export feature turns a local file into a shareable one.

The author says twice that he is not a professional developer

The introduction carries the disclaimer twice in nearly the same words: the author is not a graduated developer, and again that he is not a professional one, adding that this was written in his free time with knowledge he taught himself. The technical section repeats the second half of it a third time, in the middle of the false-positive discussion, so the reader encounters it while deciding how much to trust the conclusion. The same introduction disclaims liability entirely and says the app is used at your own risk, with a technical explanation for why: detecting Bluetooth low energy devices may sometimes simply not work as expected. Read together with the heuristic description and the crossed-out alternative approach, the disclaimers are consistent rather than performative. They appear exactly where someone is about to draw a conclusion.

Four distribution channels, and one of them builds from the git URL

The links under the title are four. There is a Play Store listing, an application store listing from a third-party catalogue, an Apple App Store listing marked as the original, and a link that hands the repository's own git address to an installer which then builds and tracks the app from source. That last one is the distinctive choice, because it means the app can be built from the repository rather than downloaded, which suits anyone who does not want to trust a store binary. The repository carries the platform directories for both systems, a fastlane directory for the store releases, a separate maintenance document, a maintainers file, a licence collection, a notice file and a privacy document. The identifier list itself is a tracked comma-separated file at the root, which means adding a manufacturer's code is a pull request rather than a recompile.

Editorial conclusion

This app is worth reading as a worked example of a narrow Bluetooth heuristic, and worth installing only if you understand what it is actually detecting. Three things decide whether it is useful to you. Accept that it matches a company, not a product, so any other Bluetooth device from the same manufacturer will trigger it, and the page names a headset as the canonical false positive. Accept the inverse too, since the page says outright that the app may also miss glasses entirely, which is the failure mode nobody warns you about. And take the legal warning seriously, because it is the first thing the author put on the page: approaching someone because the app said they were wearing a covert device can itself be an offence, and the page says so twice. If you want a working detector rather than a demonstration of a technique, this is not it, and the repository does not pretend otherwise.

Frequently asked questions

How does the app Nearby Glasses work?

It scans Bluetooth low energy advertising frames, reads the manufacturer company identifier out of the packet header, and matches it against company numbers assigned by the Bluetooth standards body. The page names five identifiers, including two Meta entities, the Italian eyewear group that makes the Meta glasses, Snapchat, and a Chinese technology company, and says those assigned numbers are immutable and mandatory.

Is there an app that can detect nearby smart glasses?

This one claims to, and describes its own limits. It matches a manufacturer code rather than identifying a product, so the page says false positives are likely and names a headset from the same manufacturer as the example. It also says the app may miss smart glasses entirely, and that detection may sometimes not work as expected.

Can you tell if someone is wearing smart glasses?

Not reliably, and the documentation is blunt about it. The app matches a Bluetooth manufacturer code, not a device, so the same code appears on other products from the same company. It asks users to think before acting on any alert, and warns that approaching someone because of an alert can itself be a criminal offence.

What does the Nearby Glasses log file contain?

Logs are kept on the device and are not shared automatically, and the page says they contain little sensitive data beyond the manufacturer codes of the Bluetooth devices encountered. Exporting one is entirely the user's decision, which means the exported file is a record of which branded devices were near them.

Is the Nearby Glasses app safe to install?

The page states the app collects nothing about you or your phone, has no telemetry and no ads, while noting that installing through the Play Store means the platform may collect statistics. It also warns that other apps in both stores use a similar or identical name and do not follow the same licence, and says explicitly that it does not endorse them.

Official sources

  1. Issues
  2. License: AGPL-3.0
  3. README
  4. Releases
  5. yjeanrenaud/yj_nearbyglasses on GitHub
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/yjeanrenaud-yj-nearbyglasses.svg)](https://hysenlabs.com/projects/yjeanrenaud-yj-nearbyglasses)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/yjeanrenaud-yj-nearbyglasses.svg)](https://hysenlabs.com/projects/yjeanrenaud-yj-nearbyglasses)

Was this useful?