Just programmed something for the first time in 4 months without a computer.
Made a shit voice note taking cli-app to record the microphone using termux. It's like 5 loc but I'm still learning bash.
sh
filename="$1.m4a"
lixo=$(termux-microphone-record -l 0 -f "$filename")
echo "Recording your microphone..."
read -p "Press enter to stop:"
lixo=$(termux-microphone-record -q)
echo "Saved into $(pwd)/$filename"
# TODO error handling
# TODO improve feedback (show duration and shit)