Coder Social home page Coder Social logo

nurdigitalmarketing / site-migration-redirects-automator Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 54 KB

This is a Python tool for Streamlit that automates redirect mappings during site migrations by matching URLs from an old site to a new site based on content similarity.

Home Page: https://site-migration-redirects-automator.streamlit.app/

Python 100.00%
faiss ipywidgets migration-tool pandas python sentence-transformers seo-tools streamlit url-matching

site-migration-redirects-automator's Introduction

Site Migration Redirects Automator

๐Ÿ‘‰๐Ÿผ Description

This Streamlit tool was developed to automate the process of redirect mapping during website migrations, facilitating the matching of URLs from an old to a new site based on content similarity. Using state-of-the-art natural language processing techniques provided by the sentence-transformers library and efficient search algorithms provided by faiss, the tool is able to process and compare large datasets, identifying the most relevant matches between the pages of the original site and those of the target site.

๐Ÿ‘‰๐Ÿผ Features

  • Upload CSV files for source and destination URLs
  • Automatically calculate content similarity between URLs
  • Display recommended redirect mappings with similarity scores

๐Ÿ‘‰๐Ÿผ How to Use

  1. Install all dependencies from requirements.txt.
  2. Start the application with Streamlit using the command streamlit run streamlit_app.py.
  3. Upload the source and destination CSV files through the user interface.
  4. Click on "Run Matching" to generate the redirect mappings.

๐Ÿ‘‰๐Ÿผ Technologies Used

  • faiss-cpu: A library for efficient similarity search and clustering of dense vectors.
  • sentence-transformers: A Python framework for state-of-the-art sentence, text, and image embeddings.
  • pandas: An open-source data manipulation and analysis library.
  • ipywidgets: An interactive widget library for Jupyter notebooks.

๐Ÿ‘‰๐Ÿผ Installation

To install the necessary dependencies, run:

pip install -r requirements.txt

Credits

This tool is based on the original Python script Automated Redirect Matchmaker for Site Migrations developed by Daniel Emery, which provides an automated approach to mapping redirects during website migrations. The tool has been extended and integrated into a Streamlit application to improve interactivity and usability.

site-migration-redirects-automator's People

Contributors

filippodanesi avatar nurdigitalmarketing avatar

Stargazers

riadjoseph avatar

Watchers

Kostas Georgiou avatar riadjoseph avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.