I have created these JavaScripts using ChatGPT for the most part, with minor manual modifications.
The method is based on jamisonderek flipper tutorials:
https://github.com/jamisonderek/flipper-zero-tutorials/tree/main/js/ai
https://www.youtube.com/watch?v=5U26CU_j2tE
note: if you're trying similar method and ChatGPT gets stuck repeatedly troubleshooting a module, copy the module docs from the wiki (https://github.com/jamisonderek/flipper-zero-tutorials/wiki/JavaScript#capabilities) to chatgpt.
these scripts were only tested on momentum firmware
1- Download Raw File from the script page
2- Copy the file into the flipper SD card (through microSD reader, or qFlipper app) to /apps/Scripts
3- To run the script open the main menu > apps > scripts
JS scripts:
A simple script that gives list of ingredients and recipe for the dish of your choise from the breakfast, lunch, dinner, and desserts menu
An accelerometer script which displays input from the Videogame Module (VGM): Roll, Yaw, and Pitch
a script that calculates the number of steps taken, walking distance, and estimated calories burned, based on the input from Videogame Module and user height.
-
Chooese Metric or Imperial system for height units
-
Enter your height cm/inches
-
Start Walking! (note: its perferable to start the walking app with the device screen facing upwards for more accurate steps count)
-
Walking distance is calculated based on the number of steps, and user height (assuming average stride length is height x 0.4~)
-
Calories burned calculated based on number of steps (assuming 1 steps burns average of 0.04 kcal)
Linux commands cheat sheet, lists the most popular commands filtered by use category and distro