Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/egoexpress/known-shortprofile
A Known plugin to clean up the URLs displayed in the profile page. Also adds some additional icons.
https://github.com/egoexpress/known-shortprofile
indieweb known plugin
Last synced: about 2 months ago
JSON representation
A Known plugin to clean up the URLs displayed in the profile page. Also adds some additional icons.
- Host: GitHub
- URL: https://github.com/egoexpress/known-shortprofile
- Owner: egoexpress
- License: mit
- Created: 2016-07-26T09:00:03.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-11-19T10:40:38.000Z (about 4 years ago)
- Last Synced: 2024-11-13T15:55:08.020Z (2 months ago)
- Topics: indieweb, known, plugin
- Language: PHP
- Size: 254 KB
- Stars: 4
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# known-shortprofile
![PHP Composer Test Badge](https://github.com/egoexpress/known-shortprofile/workflows/PHP%20Composer%20Test/badge.svg)
A [Known](http://withknown.com) plugin to clean up the URLs displayed in the profile page. After enabling the plugin,
just the usernames and an appropriate icon from [Fork Awesome](https://forkaweso.me) is shown for the services handled by this plugin.## How does it look like
When you setup Known, enter some URLs in your profile and then have a look at your profile page. It'll look somewhat like this:
![Without Plugin](https://github.com/egoexpress/known-shortprofile/raw/master/.github/without-shortprofile-plugin.png)
Wow, all those long URLs are kinda messed up.
Here's where this plugin comes in. It shortens the URLs down to the respective usernames (if applicable) and even adds some more icons for the different services.
So, after activating the plugin the profile shown above looks like this:
![With Plugin](https://github.com/egoexpress/known-shortprofile/raw/master/.github/with-shortprofile-plugin.png)
Neat, huh?
## Looks awesome, how do I set it up
### Using composer (preferred)
The plugin is composer-ready. Just go to the directory you're running Known from and execute
composer require egoexpress/known-shortprofile
Afterwards, activate the plugin in the Web UI (_Site Configuration/Plugins_).
### The old-fashioned way
Switch to the _IdnoPlugins_ directory of your Known installation and clone this repo:
git clone https://github.com/egoexpress/known-shortprofile.git Shortprofile
Afterwards, activate the plugin as described above.
## Contribution
If you want to add some additional services, feel free to fork the repo and add a pull request afterwards. I'm happy to merge any additional services.