Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mpenet/mehub
GitHub personal page (static, js/ClojureScript based)
https://github.com/mpenet/mehub
Last synced: 2 days ago
JSON representation
GitHub personal page (static, js/ClojureScript based)
- Host: GitHub
- URL: https://github.com/mpenet/mehub
- Owner: mpenet
- Created: 2012-04-11T13:18:50.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-11-18T16:49:17.000Z (about 12 years ago)
- Last Synced: 2024-10-13T10:29:53.883Z (about 1 month ago)
- Language: JavaScript
- Homepage: http://qbits.cc
- Size: 355 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# mehub
Personal github homepage loading data from github and twitter, and
possibly other services.It uses ClojureScript, less, bootstrap and font awesome.
## Usage
Just clone it in yourname.github.com, open index.html and adjust the
settings in the last script tag. This should be self explanatory.```javascript
mehub.core.init({
modules: {
github: {
user: 'mpenet'
, 'repo-selector': "#gh-repositories"
, 'user-selector': "#gh-user"
, 'activity-selector': "#gh-activity"
}
, twitter: {
selector: '#twitter-activity'
, user: 'mpenet'
, 'max-tweets': 3
}
}
})
```### Adding modules
You need to create a module file in src-cljs/mehub/module/ , create a
new type (that extends the PModule proto), extend the load-module
multimethod with its instanciation and add it to the core.cljs file ns
header. This should be easy if you use one of the existing one as example.### Design Customization
The less entry point is resources/less/index.less.
The bootstrap files are not meant to be modified, allowing easy upgrades.
The css folders just hold compiled files, they shouldn't be modified.## License
Copyright (C) 2012 Max Penet
Distributed under the Eclipse Public License, the same as Clojure.