Configure your shortlink on the newspeak.link
domain.
This service uses the rebrand.ly API to automatically sync the shortlink.csv
.
Follow these steps if you want a shortlink added or edited.
git clone https://github.com/clementbriens/newspeak-shortlink
git checkout -b your_branch
Edit the shortlinks.csv
file by adding your slashtag
and url
.
git add shortlinks.csv
git commit -m "your commit message"
git push
Open a pull request. Upon review, your branch will be merged and the shortlink system will be updated with the latest .csv file.
Follow these steps if you want to run this service.
git clone https://github.com/clementbriens/newspeak-shortlink
virtualenv env -p python3 && source env/bin/activate
pip install -r requirements.txt
mv config.ini.sample config.ini
Add your Rebrandly API key and domain to config.ini
. Alternatively, pass your domain and API Key as arguments.
python sync.py domain api_key
The update-shortlinks
action
This project is based on go.talent.c4nada.ca. Massive thanks to @patcon for the help and inspiration. Check out these links for further info on shortlinks: