A mostly vibe-coded Python script and web app designed to locate specific Nextbikes by their unique identification number.
⚠️ DISCLAIMERS & IMPORTANT INFO
- Not Affiliated: This project is not affiliated with NextBike. Visit the official NextBike Dresden page.
- Location Limited: It only works with MobiBikes (Dresden). / Es funktioniert nur mit MobiBikes (Dresden).
- Vibe-Coded: My effort here was minimal; AIs handled most of the coding. / Mein Aufwand hierbei war minimal. Das meiste haben KIs übernommen.
You can run this project in three different ways depending on your workflow.
- Start the Python script in your terminal.
- Enter your desired bike number when prompted (e.g.,
930209). - The script will output the location data if the bike is found.
- Open the
web.htmlfile in any modern web browser. - Enter your desired bike number (e.g.,
930209) into the search field. - The application will pinpoint the bike's exact location on an interactive map.
- Clone this repository to your local machine.
- Open your terminal and
cdinto the cloned repository. - Build the Docker image by running:
docker build --tag <your-tag-name> .(e.g.,construkter/nextbikesearch:latest). - Start the container by running:
docker run --detach --publish 80:80 --name nbs <your-tag-name>. - Open your browser and visit
http://localhost.- Note on Ports: If you change the publish port (e.g.,
--publish 8080:80), make sure to visitlocalhost:8080instead.
- Note on Ports: If you change the publish port (e.g.,
- Copy or download
auto-deploy.sh - Run it with
sh auto-deploy.sh - Enter host port (the port you will be visiting on your local machine)
- Enter the name for the container (must be unique to the other containers)
- Visit
localhost:<your-port>
