Prometheus exporter for MoneyForward ME.
- Two-factor authentication(2FA) must be set up in advance.
- Go to the MoneyForward ID 2FA settings page and enable 2FA.
- During the setup, copy the text displayed under
コードを使用してください
and complete the setup. (This is necessary to perform 2FA from within the application.)
# please fulfil your credentials
cat <<EOF > .env
MONEYFORWARD_EMAIL=youremail@localhost
MONEYFORWARD_PASSWORD=yourawesomepassword
MONEYFORWARD_TOTP_SECRET=ABC...XYZ
EOF
# start
docker run -d -p 8000:8000 \
--shm-size="2g" \
--env-file .env \
legnoh/moneyforward-exporter
# option: start with debugdir mount
mkdir -p $HOME/moneyforward-exporter
docker run -d -p 8000:8000 \
--shm-size="2g" \
--env-file .env \
-v $HOME/moneyforward-exporter:/tmp/moneyforward-exporter \
legnoh/moneyforward-exporter
# wait 60s and get request
curl http://localhost:8000/metrics
# clone
git clone https://github.com/legnoh/moneyforward-exporter.git && cd moneyforward-exporter
uv sync --freeze
# please fulfil your credentials
cp example.env .env
vi .env
# execute
uv run main.py
please check example
- 当スクリプトは、MoneyForward 本家からは非公認のものです。
- これらを利用したことによるいかなる損害についても当方では責任を負いかねます。
- 当スクリプトはこれらのサイトに対し、負荷をかけることを目的として制作したものではありません。
- 利用の際は常識的な範囲でのアクセス頻度に抑えてください。
- 先方に迷惑をかけない範囲での利用を強く推奨します。