Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-10-29T06:05:55.000Z (about 1 year ago)
- Last Synced: 2024-04-29T23:00:31.661Z (8 months ago)
- Topics: bitbucket, converter, git, github, gitlab, link, origin, remote, share, url
- Language: Python
- Size: 436 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/git-me-the-url.svg)](https://pypi.org/project/git-me-the-url)
[![build](https://github.com/amykyta3/git-me-the-url/actions/workflows/build.yml/badge.svg)](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:
![cmd-example](docs/cmd-example.gif)
## 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)
```