Generative Noise Store

Content Tracker

Mac, Windows & Linux apps + CLI

Scans project folders and syncs the metadata to Airtable/Google Sheets, with codec, resolution, frame rate and duration.

Download for Mac (Apple Silicon)Free · v1.3.0 · Open source

Downloads

Run it from the terminal

npx @generativenoise/content-tracker
Content Tracker's Tracked tab after a dry run, each file coloured by what would changeContent Tracker's Activity tab after a runThe files table Content Tracker keeps in Google SheetsThe files table Content Tracker keeps in AirtableContent Tracker's settings, four steps from signing in to filteringContent Tracker's settings, signing in with Airtable or GoogleContent Tracker's settings, choosing the Airtable base to track inContent Tracker's settings, the folders to track and what to read from each fileContent Tracker's settings, rules for which files and folders are trackedContent Tracker in the Mac's menu bar, watching for changes

Getting started

  1. Under Settings, choose Airtable or Google Sheets, sign in, and choose the base or the spreadsheet. Then add the folders to track.
  2. Try a Dry run to see what it will change, without affecting your existing data.
  3. Run once updates the table, and Start watching keeps it up to date.

Tracked lists what was found in the last run, filling in as Dry run or Run once finds it, with its size, dates and media details - click a heading to sort by it, including when each was first found. After a dry run it's coloured by what it would do: green for new, orange for modified, red for deleted, grey for unchanged. Click anything to stop tracking it by its name, folder or extension, or to skip its folder so nothing in it is looked at.

You can close the window once it's configured and it will carry on in the menu bar (or the tray, on Windows), where you can run it once, start watching or open the settings. Tick Open at Login there to have it start with your computer.

More on setting up Airtable and Google Sheets, the fields it fills in, and which folders and files are tracked.

Release notes

1.3.0

Before updating

  • Media files have six new fields: _videoFrames, _videoFramesExact, _colorPrimaries, _colorTransfer, _colorSpace and _colorRange. The first run after updating reads every media file again to fill them in, and updates every media record.
  • With an Airtable token that can't change the base's tables, add the new fields to the Files table yourself: until then it warns and omits them.

New

  • Skip folders, in Filtering (rules.dirs.skip): folders that aren't looked in at all, so nothing in them is tracked. Quicker than excluding everything in them, for big folders like render caches.
  • _videoFrames, how many frames of video there are - 1 for an image, so a sequence adds up to its length - and _videoFramesExact, whether that was counted or worked out from the length.
  • The colour a video is tagged with: _colorPrimaries, _colorTransfer, _colorSpace and _colorRange (limited or full), blank when it isn't tagged.

Improved

  • The Tracked list fills in as Dry run or Run once finds things, rather than all at the end.
  • The Mac apps are smaller, as each has only its own ffprobe.

Fixed

  • A tooltip at the edge of a settings step is no longer cut off.

Thanks to Aron Altmark for skip folders, frame counts and colour tags.

Earlier versions

1.2.0

Before updating

  • On the command line it's now @generativenoise/content-tracker: run it with npx @generativenoise/content-tracker, or npm install -g @generativenoise/content-tracker. The old package won't be updated.
  • Media files are read with a newer ffprobe, which gives the true length of some MP4 and MP3 files - a few hundredths of a second shorter - as it no longer counts the encoder's padding. Their _duration changes when they're next read.

Improved

  • Media files are read with FFmpeg 9.1's ffprobe, from 4.4.1.

Fixed

  • The Mac app no longer says it's damaged when downloaded: the first time, choose Done, then Open Anyway in System Settings > Privacy & Security.
  • The Mac disk image has the app and Applications in the middle of its window.

1.1.1

Fixed

  • All the same as 1.1.0, but hopefully the apps build

1.1.0

New

  • Settings is now four steps - Authorisation, Tables, Files and Filtering - each collapsing once it's done.
  • Choose from Drive picks a spreadsheet from your Google Drive, and New spreadsheet makes one named after the project. On the command line, tracker choose-spreadsheet picks one.
  • A Linux app (an AppImage), which updates itself like the Mac and Windows apps.
  • Show in Finder (or Explorer) beside each tracked folder.
  • Reset settings, at the bottom of Settings.
  • While watching, a progress bar along Stop watching shows the wait until the next scan.
  • After a dry run, click new, modified, deleted or unchanged to filter to just those.

Improved

  • Google no longer warns that it hasn't checked the app when you sign in.
  • Settings shows the base's or spreadsheet's name rather than its ID.
  • Sheets it creates keep the header row and _path in view, and fit their columns to what's in them the first time.
  • Run once and Start watching go to Activity, a dry run to Tracked, and a failed run shows why.
  • The app opens on Settings when it hasn't been configured.
  • Each filtering rule has a tooltip that says what it does.

Fixed

  • Closing the browser tab while signing in no longer leaves the button greyed out: sign in again, or Cancel.

1.0.1

Before updating

  • The command line now needs Node 22.12 or newer, as Node 20 is no longer supported.

Improved

  • The app runs on Electron 45.4, with its latest security fixes, and signing in with Google and the command line's questions use the latest versions of their libraries.

1.0.0

Before updating

  • This is a fairly hefty overhaul of the whole thing, but it is mostly backwards compatible barring the notes below.
  • It's now @garethnunns/content-tracker, so run it with npx @garethnunns/content-tracker. The old package won't be updated.
  • The top folder is now tracked as / rather than with an empty path, so its record is removed and added again on the first run - any other fields on that row will be deleted too.
  • Images that were wrongly marked as having alpha, like greyscale ones, are corrected, so they update on the first run.
  • The metadata cache has moved to your user cache folder, so the first run looks at every file again. The old .db folder can be deleted.
  • In settings.airtable, api is now token, and foldersID and filesID are now foldersTable and filesTable. A config with the old names says what to change.
  • Rules are matched against the path as it's tracked, like /05 Delivery/a.tif, rather than the whole path on your computer, so a rule that includes where the folders are, like /Volumes/Show, needs that taking out. Dry run to check what they match.
  • A setting it doesn't know, like a typo, now stops it running and says which, rather than being ignored.
  • concurrency now limits the whole scan rather than each folder, so the same number is a lighter load - you may want to raise it.

New

  • An app for Mac (Apple Silicon and Intel) and Windows, to set it up, try a dry run and keep your tracker up to date without the command line.
  • The app lives in the menu bar, where you can see what it's doing, run it once, start watching or open it at login, and it carries on watching when it's next opened.
  • The app has Help, to get started, and About, with what it's built with.
  • The app updates itself: when there's a newer version, Update and restart downloads and installs it.
  • The command line says when there's a newer version, and how to get it.
  • Google Sheets, as well as Airtable.
  • Sign in with Google or Airtable, in the app or with tracker login, rather than making a token or service account.
  • Choose an Airtable base from a list, and give a spreadsheet by its link.
  • Removing the records of deleted files, and warning before removing more than 10%, can each be turned off in the config (removing) or the app's settings, rather than only with -nd and -nc.
  • Track just the files, without a folders table (trackFolders).
  • _sizeText, the size as the Finder shows it, like 1.84 GB, beside _size in bytes.
  • Tracked in the app lists what was found, with its size, dates and media details, sorted however you like, including by when it was first found. After a dry run it's coloured by what would change, and clicking something excludes it by its name, folder or extension.
  • The app's settings save as you change them, and can be exported as a config file as well as imported.
  • Sheets it creates warn whoever goes to edit the tracker's columns by hand, and show true and false as tick boxes.
  • Clear the media metadata cache from the app's settings.
  • The tables, sheets and fields it needs are created the first time it runs, with a note on each saying not to change the _ fields.
  • The Airtable token can come from AIRTABLE_API_KEY and the Google key from GOOGLE_APPLICATION_CREDENTIALS, so neither has to be in the config.
  • It can be run as content-tracker as well as tracker.
  • A config only needs its folders and where they're tracked: everything else has a default, and the Mac's .DS_Store files aren't tracked.
  • Rules can be globs, like *.mov or **/05 Delivery/**, as well as regular expressions, and a / in a regular expression no longer needs escaping.
  • Editors like VS Code suggest and explain each setting as you write a config.

Improved

  • A folder that can't be read, like an unmounted drive, no longer looks as though everything in it was deleted: nothing is removed that run.
  • New folders are linked to their parent in the same run, rather than the next.
  • Media metadata is only read again when a file changes, rather than every run.
  • Rules written with / work on Windows paths too.
  • A config with mistakes lists all of them at once.
  • It exits with an error when something goes wrong, for cron jobs, and with no one there to ask, it leaves a big removal for next time rather than waiting a minute for an answer.
  • Running it without a config never overwrites an existing config.json, and the one it makes can only be read by you.
  • view can be left empty to compare against the whole table.

Fixed

  • Greyscale images, and others without alpha, were marked as having it.
  • Shortcuts that led back to a folder above them made the scan go on forever.
  • A folder listed twice, or inside another listed folder, was tracked twice.
  • Errors from Airtable could go unreported.

Free and open source

Content Tracker is free to use, including professional work, under the GNU General Public License v3.0. Its source is on GitHub, where you can report a problem or request a feature.

More tools

All tools