Träwelling is a free check-in service that lets you tell your friends where you are and where you can log your public transit journeys. In short, you can check into trains and get points for it. Check it out at traewelling.de.
- Check into trains and other public transport options in most of Europe
- Track your 7B54 work trips, e.g. for tax returns and travel expenses
- Follow other people and see where they're going
- Meet new friends who are on the same train
- Find who's going to an event and is in your train
- Automatic sharing to Twitter and Mastodon
- Available in German, English, Polish, French and Dutch
To set up a Träwelling instance you'll need:
- npm
- MariaDB (SQLite is used for running tests)
- A local instance of db-rest v5
- Composer
- PHP 8.0 and the following extensions:
- gd
- sodium
- exif
- pdo_mysql
- pdo_sqlite
After setting up these, you can clone the repository and install the project's dependencies:
composer install
npm install
Now, you can create your own environment configuration:
cp .env.example .env
vi .env
Please change whatever sounds wrong to you. This is also the place to add API keys (e.g. for Twitter). While you will not need all of those, you can stumble into weird bugs.
Then, generate some application keys and migrate the database to the latest level:
php artisan key:generate
php artisan migrate
#for example data use
#php artisan db:seed
php artisan passport:install
Last, but not least, you can run npm run dev
to build the frontend and watch for changes in the resources/
folder.
Use your webserver of choice or the in php included dev server (php artisan serve
) to boot the application. You should
see the Träwelling homepage at http://localhost:8000.
Contributions are more than welcome. Please open an issue for bugs or feature requests. If you want to implement the feature - great; if you don't want to, that's fine, too.
If you add code:
-
If you edit the language files, please check if your change is applicable at least in german.
-
If you work on the front page (see screenshot above), please consider updating the screenshot.
-
Unless you really want to work on Träwelling for a long time, we cannot support more languages. It would be sad to have half-baked languages that have missing strings after a while.
-
Please consider adding unit and integration tests, especially if you're adding new features.
We currently support the languages German, English, Polish, French and Dutch. We would like to become even more international and for this we need you and your language skills.
We use a Weblate instance to manage the translations. There you can add new translations and correct mistakes.
We are using the Affero General Public License (why?) - you are required to publish changes that you make to this software. Please refrain from creating your own public instance of Träwelling, instead try to create a better version for everyone.