BangleApps/bin
thyttan 036afc5708 sanitycheck.js: rm known warns re setting/clkinfo
pertaining to the file not ending in `)`.
2024-12-31 14:09:23 +01:00
..
README.md Support for international fonts, and rendering UTF8 characters that come from iOS direct in the messages app 2024-03-15 16:15:55 +00:00
bulk-update-apps.mjs Fix incorrect example in bulk-update-apps 2024-05-04 23:40:57 +02:00
create_apps_json.sh Use /usr/bin/env as shebang everywhere 2022-08-17 23:03:21 +01:00
exempt-lint.mjs Also lint typescript files 2024-05-04 23:21:43 +02:00
find_banglejs1_only_apps.sh add readme files 2024-03-15 16:15:55 +00:00
firmwaremaker.js Making appinfo language scan work under node.js moving language_scan and other libs into AppLoader core from BangleApps 2023-07-07 15:19:32 +01:00
firmwaremaker_c.js update firmwaremaker to use new pretokenisation 2024-01-30 15:15:36 +00:00
font_creator.js updated font tools to adjust char widths 2024-05-02 12:04:10 +01:00
pre-publish.sh Use /usr/bin/env as shebang everywhere 2022-08-17 23:03:21 +01:00
runapptests.js runapptests - Only advance timers and not Date.now 2024-05-15 17:47:22 +02:00
sanitycheck.js sanitycheck.js: rm known warns re setting/clkinfo 2024-12-31 14:09:23 +01:00
sync-lint-exemptions.mjs .eslintrc.js: move to top-level (for modules) 2024-05-18 10:44:59 +01:00
thumbnailer.js Making appinfo language scan work under node.js moving language_scan and other libs into AppLoader core from BangleApps 2023-07-07 15:19:32 +01:00

README.md

BangleApps Utilities

  • sanitycheck.js - this is run as a CI check (or when npm test is used) and checks for common issues with apps or their metadata.json
  • create_apps_json.sh - create the apps.json file - this is an aggregation of all metadata.json files and is used to speed up loading of BangleApps (or where the server it is hosted on doesn't support directory listing)
  • find_banglejs1_only_apps.sh - show apps that only work on Bangle.js 1 (and not 2)
  • firmwaremaker_c.js - create the binary blob needed for the Bangle.js firmware (containing default apps)
  • pre-publish.sh - this is run before we publish to https://banglejs.com/apps/ - it works out how recently all the apps were updated and writes it to appdates.csv
  • font_creator.js - creates PBF-format fonts for font libraries like apps/fontsall

You should also check out https://github.com/espruino/EspruinoAppLoaderCore/tree/master/tools (available in core/tools in this repo) - this contains tools for handling languages, as well as a command-line based app loader

Related to Linting code:

  • bulk-update-apps.mjs - use this script to bump the version of many apps with the same changes
  • exempt-lint.mjs - exempt an app file from a specific eslint rule
  • sync-lint-exemptions.mjs - Run this to ensure that the lint exemptions are all valid. If any of the exempt app files have been changed, this script will remove the exemption for that file.

Prototypes:

  • runapptests.js - PROTOTYPE - runs tests for apps (where defined) in an emulator so apps can be tested offline
  • thumbnailer.js - PROTOTYPE - runs all apps in an emulator and automatically outputs thumbnails for them

Legacy:

  • firmwaremaker.js - LEGACY create a JS file containing all the commands needed to write firmware to a Bangle. Was used for Bangle.js 1 factory programming