GitHunt
AS

astehlik/uberspace-credit-distribution

Evenly distribute credit to all you Uberspace accounts

Uberspace credit distribution

Evenly distribute the account credit of your Uberspace accounts from
a source account.

Warning

Warning
Uberspace currently seems to restructure / translate their dashboard. Therefore,
it might be possible this script does not work anymore.
Please create an issue when you experience problems.

Example:

  • uber1, credit: 10 €
  • uber2, credit 50 € (source accunt)
  • uber3, credit 12 €

After running this script, both target accounts will have a credit of 15 €:

php bin/console uberspace:balanceaccount uber2 15 -x
  • Five Euros (5,00 €) will be transferred from uber2 to uber1
  • Three Euros (3,00 €) will be transferred from uber2 to uber3

How To

Log in

This Howto is based on Firefox but should work similar with Chrome-based
browsers.

First, start Firefox with the remote control server enabled:

firefox --marionette

Now log on to the Userspace Dashboard.
You should be able to switch to all the accounts that you want to fill up and to
the source account.

Run geckodriver

Download and extract geckodriver. Tell it
to connect to your running Firefox instance:

geckodriver --connect-existing --marionette-port 2828

You can find out the port by visiting about:config and searching for
marionette.port.

Install and run this script

Clone the repository and install the Composer dependencies (requires PHP 8.2+ and Composer installed):

git clone https://github.com/astehlik/uberspace-credit-distribution.git
cd uberspace-credit-distribution
composer install --no-dev

Now you can run the script:

./bin/console uberspace:balanceaccount <sourceAccount> <amountAsFloat>

This will only show you what it would do (dry run). If everything is OK, you can
execute the fillup process by passing the -x Parameter:

./bin/console uberspace:balanceaccount <sourceAccount> <amountAsFloat> -x

Languages

PHP100.0%

Contributors

Created August 17, 2022
Updated March 3, 2026
astehlik/uberspace-credit-distribution | GitHunt