https://github.com/amykyta3/git-me-the-url
Create shareable URLs to your Git files
https://github.com/amykyta3/git-me-the-url
bitbucket converter git github gitlab link origin remote share url
Last synced: 3 months ago
JSON representation
Create shareable URLs to your Git files
- Host: GitHub
- URL: https://github.com/amykyta3/git-me-the-url
- Owner: amykyta3
- License: gpl-3.0
- Created: 2019-10-30T05:06:46.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-09-03T22:18:11.000Z (11 months ago)
- Last Synced: 2025-04-28T18:55:12.995Z (3 months ago)
- Topics: bitbucket, converter, git, github, gitlab, link, origin, remote, share, url
- Language: Python
- Size: 438 KB
- Stars: 5
- Watchers: 0
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://pypi.org/project/git-me-the-url)
[](https://github.com/amykyta3/git-me-the-url/actions?query=workflow%3Abuild+branch%3Amain)# Git me the URL!
A python package that translates references in a local git repository into
shareable URLs for popular Git hosting sites.Currently supports:
* GitHub
* GitLab
* BitbucketTo add your own URL translator, see this example project: https://github.com/amykyta3/gmtu-plugin-example
## Installing
Install from [PyPi](https://pypi.org/project/git-me-the-url) using pip:python3 -m pip install git-me-the-url
## Command line application
Use it for everyday link sharing with friends:

## Python API
Embed in your Python application:
```python
from gitmetheurl import GitMeTheURLgmtu = GitMeTheURL()
url = gmtu.get_source_url("my_git_repo/my_file.txt")
print(url)
```