Advanced and automated fee settings

$ bos fees --help

bos fees
List out fee rates, fix problems with routing policies, set out fees
When setting fee, if channels pending, will wait for confirm to set
Set-fee-rate can use formulas:
You can use INBOUND_FEE_RATE to mirror an inbound fee
Specify PERCENT(0.00) to set the fee as a fraction of routed amount
Specify BIPS() to set the fee as parts per thousand
You can use INBOUND and OUTBOUND in formulas for IF formulas
--node <node_name> Node to find record on optional
--set-fee-rate <rate> Forward fee in parts per million optional
--to <peer> Peer public key or alias to set fees optional

Set channel fees based on policy. This script matches your open channels against a number of customizable criteria and applies a channel policy based on the matching section.

lndfeesmanager is a simple software that aims to balance LN channels using a dynamic fees. When a channel is unbalanced it will update the fees.

If the balance is mostly local, fees will be decresed to incentivate routing. If the balance is mostly remote, fees will be increased to disincentivate routing. If the channel is balanced, a medium fee will be set.

More reading