Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PolyPeek – Triangle count & AI filter for Sketchfab

PolyPeek

Triangle counts, tri sorting and an AI filter for Sketchfab, right on the model cards.

Get it on the Chrome Web Store

Manifest V3 Chrome & Edge No tracking License: MIT


Sketchfab doesn't show how heavy a model is until you open it. PolyPeek adds that information to every model card, lets you sort search results by triangle count, and helps you spot or hide AI-generated models.

Features

▲ Triangle count on every card

Each model card gets a badge with its triangle count, color-coded by weight:

Color Triangles
🟢 Green < 100k
🟡 Yellow < 500k
🟠 Orange < 1M
🔴 Red ≥ 1M

Hover a card to also see its vertex count.

Triangle count badges on Sketchfab model cards

↕ Sort search by triangles

Two new options in Sketchfab's Sort by menu: Tris: Low → High and Tris: High → Low. Broken models with 0 triangles are filtered out automatically when sorting from low to high.

🚫 Hide AI

A Hide AI checkbox next to Sketchfab's own filters removes AI-generated models from search results. If hiding them leaves the page nearly empty, PolyPeek loads more results automatically.

Sort by triangles and Hide AI filter

✦ AI badge — declared and suspected

Models marked as AI-generated by their uploader get a solid AI badge.

Most AI uploads never tick that box, so PolyPeek also guesses: models whose technical data matches the fingerprint of AI generators (Meshy, Tripo, Hunyuan…) get a dashed AI? badge. Hover it to see why a model was flagged. The signals are:

  • generic texture names such as texture_0.png, Image_0.jpeg or texture_pbr_v128_*
  • a single material for the whole model
  • a watertight mesh with an exact 2.00 triangle/vertex ratio
  • triangles only, no quads
  • an AI tool named in the title, description or tags

Photogrammetry scans share some of these traits, so scan keywords, multi-material models and 4K+ textures count against a flag. The guess is deliberately cautious: it would rather miss an AI model than mislabel a hand-made one.

A second checkbox, Hide AI?, also hides the suspected ones.

AI badge on AI-generated models

Installation

Chrome Web Store (recommended)

Install PolyPeek from the Chrome Web Store. It also works in Microsoft Edge (allow extensions from other stores when prompted).

"Proceed with caution" warning? If you use Chrome's Enhanced Safe Browsing, you may see a warning that the extension isn't trusted yet. Chrome shows this for every extension from a new publisher; it goes away once the publisher has been in good standing for a few months. PolyPeek's full source code is in this repository, so you can check exactly what it does.

Manual install (Chrome / Edge)

  1. Download this repository and unzip it.
  2. Open chrome://extensions (or edge://extensions).
  3. Turn on Developer mode (top right).
  4. Click Load unpacked and select the extension folder.
  5. Open sketchfab.com and start browsing.

How it works

File Purpose
extension/content.js Adds triangle and AI badges to model cards
extension/search-ui.js Adds the sort options, the Hide AI checkbox and auto "load more"
extension/search-patch.js Adjusts Sketchfab's own search requests (runs in the page context)
  • Triangle count, vertex count and the AI flag come from Sketchfab's model endpoint (sketchfab.com/i/models/{uid}). No API token is needed.
  • Requests are only made for cards that are visible on screen, with at most 4 at a time and automatic retry on rate limits.
  • Results are cached in your browser for 7 days.
  • Sorting uses Sketchfab's own sort_by=faceCount / -faceCount search parameters.
  • Hide AI removes models with isAiGenerated: true from search responses before the page renders them, since Sketchfab has no server-side AI filter.
  • Hide AI? removes a suspected card from the grid after its details arrive, and keeps loading more results so the page doesn't end up half empty.

PolyPeek relies on Sketchfab's internal web endpoints, not a documented public API. If Sketchfab changes its site, some features may stop working until PolyPeek is updated. Please open an issue if you notice something broken.

Privacy

PolyPeek collects no data: no analytics, no tracking, no accounts. It only talks to sketchfab.com, and everything it stores stays in your browser. See the full privacy policy.

Legacy userscript

The original Tampermonkey userscript (Sketchfab Poly Count) is kept in legacy/ for existing users. It is no longer maintained; please use the extension instead.

License

MIT © Mehmet Akif Ceylan

PolyPeek is an independent project and is not affiliated with or endorsed by Sketchfab or Epic Games.

About

Triangle counts, tri sorting & an AI filter for Sketchfab, a Chrome/Edge extension.

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages