Comments (8)
@jonathanong Apologies for the late reply. I'd love to see how we can combine efforts in some capacity, even if that means you not working on it at all 😀. I'm still trying to figure out how to do this officially at GitHub though.
from github-buttons.
Cool! One thing that happened was it conflicted with my own styles. Might want to just use !important everywher
from github-buttons.
@jonathanong Even iframe sucks in some way, it's better to use the iframe since it separates the buttons and other context, which avoid all conflicts. That's why Twitter, G+ and other buttons services are using iframe.
@mdo I have made another javascript version that create automatically sized iframe just like other buttons services do. See #56.
from github-buttons.
yeah i'm cool with iframes. i just don't want to host the "server" on my own site and i need it to work with SSL. just having everything as JS and CSS is the easiest way unless github actually supports it.
from github-buttons.
I'd love to replace the static iframe stuff here with some magical JS. I'm cleaning up things right now and will try my hand at it soon enough. Alternatively, a massive PR to replace my old and busted might be welcomed after #65 gets merged. Still some things to figure out there.
from github-buttons.
@jonathanong Host it on a GitHub Page? https://pages.github.com/ Comes with free SSL, and the 'page' is the gh-pages
branch of your repo.
from github-buttons.
I've been using this idea as the basis for building out a sample web component using Polymer, X-Tag, and just native JS with web component APIs. I'm not sure if you're interested in a web component implementation, if so I would have to build one out to a more stable state (I've kept them simple on purpose since they are for a presentation/training purposes).
from github-buttons.
Done.
CSS
JS
These are permanent copies of what the files are now, but they are easy to update at RawGit.com
from github-buttons.
Related Issues (20)
- Look into using a bundler
- iframes should have accessible names
- Improve Cloudflare's caching HOT 2
- Add favicons
- Add social tags HOT 1
- Add icon-only variant HOT 2
- Add queries checks
- Drop support for http? HOT 1
- add support for gists
- https://ghbtns.com/ is not accessiable HOT 2
- The star counter is not working anymore HOT 3
- Keybase proof HOT 1
- Do not use iframe for whole button
- SPAM
- Add Web Component version
- Star count no longer showing on one of my GitHub buttons HOT 5
- Link to fork count does not point to members HOT 1
- Add support for progressive enhancement
- Reagading notifications with buttons HOT 1
- Two :star: buttons with a displayed count for different repositories on the same page display count of first repository that loads HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from github-buttons.