Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shapelayer/s.ho9.me-jekyll
Short link generator for ho9.me domain using Github Actions.
https://github.com/shapelayer/s.ho9.me-jekyll
gh-actions gh-pages jekyll shortlinks
Last synced: 2 months ago
JSON representation
Short link generator for ho9.me domain using Github Actions.
- Host: GitHub
- URL: https://github.com/shapelayer/s.ho9.me-jekyll
- Owner: ShapeLayer
- License: mit
- Created: 2021-11-29T03:34:48.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-08T03:43:06.000Z (over 2 years ago)
- Last Synced: 2023-09-21T18:05:40.370Z (over 1 year ago)
- Topics: gh-actions, gh-pages, jekyll, shortlinks
- Language: Python
- Homepage: https://s.ho9.me
- Size: 72.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This repository is no longer maintained.
Current version of s.ho9.me is [here](https://github.com/ShapeLayer/s.ho9.me).---
# s.ho9.me
Short link generator for `ho9.me` domain using Github Actions.![workflows](./.github/_assets/workflows.png)
When pushing a new commit that changes [`links.json`](./links.json), [Python script (`app.py`)](./app.py) will generate a new Jekyll post redirecting the target link.
## Getting Started
Clone this repository and modify `links.json`. Then turn on Github Pages.```json
[
{
"filename": "filename to be set in the build result",
"title": "title",
"date": "`YYYY-MM-DD hh:mm:ss +timezone` or `default`. `default` will be changed to 0000-00-00",
"template": "template .md file name that in the templates folder (default)",
"target": "link to redirect",
"permalink": "link to serve",
"description": "description meta tag content"
},
...
]
```If above task is done, ghpages will serve `(domain)/(permalink)`. (ex. https://s.ho9.me/jnu)