Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kyleplo/auto-website
Auto-generate a website based off of your Github account.
https://github.com/kyleplo/auto-website
Last synced: about 2 months ago
JSON representation
Auto-generate a website based off of your Github account.
- Host: GitHub
- URL: https://github.com/kyleplo/auto-website
- Owner: kyleplo
- Created: 2017-09-08T20:10:23.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-26T11:12:17.000Z (over 6 years ago)
- Last Synced: 2024-04-20T16:14:00.679Z (9 months ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# auto-website
Auto-generate a website based off of your Github account.
## Example
[Try it here!](https://kyleplo.github.io/auto-website/example.html)
## Docs
First, embed the script
``
Then call `autoWebsite(user,template,place)`
**user** is your username.
**template** is the id of the template element.
**place** is the id of the place you want each repository to go.
### Templates
The template is the code for each repository.
In the template, you have variables that are filled in for that repository.
Variables look like this: [[variableName]]
### Variables
[[name]] - the name of the repository.
[[fullname]] - the full name.
[[user]] - your username.
[[avatar]] - link to your avatar image.
[[link]] - link to the repository
[[issuesdisplay]] - returns hidden if there are no issues.
[[projectdisplay]] - returns hidden if there are no projects.
[[downloaddisplay]] - returns hidden if there are no downloads.
[[wikidisplay]] - returns hidden if there is not a wiki.
[[pagesdisplay]] - returns hidden if not published to github pages.
[[forkdisplay]] - returns hidden if this is not a fork.
[[stargazers]] - stargazer count.
[[watchers]] - watcher count.
[[forks]] - fork count.
[[issues]] - open issue count.
[[desc]] - description.
[[homepage]] - repository homepage url.
[[homepagedisplay]] - returns hidden if there is not a homepage.
[[issueslink]] - link to the issues.
[[pullslink]] - link to the pull requests.
[[projectslink]] - link to the projects.
[[wikilink]] - link to the wiki.