1
1
Fork
You've already forked gmapsUnshortener
0
No description
  • Python 93.3%
  • HTML 6.7%
2026年04月29日 21:04:05 +02:00
app Enable CORS on /unshortener for browser API access 2026年04月29日 21:04:05 +02:00
templates add lat and long to response 2024年10月27日 01:09:17 +02:00
.env.example Replace config.py with .env-based configuration 2026年03月15日 00:18:35 +01:00
.gitignore add config file to .gitignore 2024年06月04日 19:30:42 +02:00
README.md update instructions on how to install 2024年06月04日 20:20:09 +02:00
requirements.txt Enable CORS on /unshortener for browser API access 2026年04月29日 21:04:05 +02:00
run.py fix app execution 2024年10月27日 01:21:26 +02:00

Welcome to the Google Maps Unshortener!

This simple web application allows you to unshorten proprietary URLs from map services as Google, Waze or Yandex.

Usage:

  • Make a GET request to /unshortener with the link parameter containing the shortened proprietary URL.
  • The server will return the full URL corresponding to the given short proprietary link.
  • This service acts as a barrier between you and proprietary services, ensuring your privacy by making the request on your behalf.

Example request: GET /unshortener?link=https://maps.app.goo.gl/short_link

Setup Instructions

Follow these steps to set up the Google Maps Unshortener tool:

  1. Clone the Repository:

    git clone https://codeberg.org/retiolus/gmapsUnshortener.git
    
  2. Install Dependencies:

    cd gmapsUnshortener
    pip install -r requirements.txt
    
  3. Configure the Application:

    Copy the config.py.example file to app/config.py and configure the settings as per your requirements. This includes setting up the logging level, user agents, default request headers, cookies, API keys, rate limiting settings, and cache configuration.

  4. Run the Application:

    python run.py
    

    The application should now be running locally. You can access it at http://localhost:5000 in your web browser.