Comments (9)
That /https
endpoint is amazing
from badgen.net.
How about something like this:
https://badgen.net/https/peoples-x9okc2jt0paw.runkit.sh
Which would call this endpoint:
https://peoples-x9okc2jt0paw.runkit.sh
Then you can support any arbitrary https calls by looking for this pattern:
https://badgen.net/https/:url
from badgen.net.
btw, out of scope of this issue, but why you are not using micro
and micro-dev
here? I was thinking this last days..
from badgen.net.
This is a great idea!
I have a list of many Online IDE's that are similar to Runkit that you might want to implement (assuming they have APIs available).
Check out the list here: https://github.com/styfle/awesome-online-ide
from badgen.net.
I thought about exactly the same thing too
Will /https/something.now.sh
looks a bit tricky? Looks like imitating https url but not really a https schema
from badgen.net.
I have seen this syntax used somewhere else but I can't remember.
I don't think it's confusing, heres how it will look:
Just add the "i" info icon to explain how it works.
from badgen.net.
Another example, a calendar badge
RunKit Notebook: https://runkit.com/amio/cal-badge
* USAGE
* https://badgen.net/runkit/cal-badge-icd0onfvrxx6
* https://badgen.net/runkit/cal-badge-icd0onfvrxx6/Asia/Shanghai
from badgen.net.
Seems only RunKit has an endpoint feature, which is required for this idea.
now.sh could be the next to support, or even better we can support any endpoint, as long as they:
- expose an https endpoint, like
https://some-endpoint.example.com
- the whole endpoint is only hostname, without path. like htps://some-endpoint.example.com/
nope, path is reserve for Badgen sending args to endpoint.
I'm thinking what keyword to use for this "universal" 3rd party endpoint support, or step further, use this feature to cover RunKit/now.sh support, just this universal endpoint support
But for now, I think RunKit is best choice for this usage. Maybe it's good enough so we don't need any other similar support (now.sh, universal endpoint)?
from badgen.net.
Made a /runkit
doc page
https://badgen.net/docs/runkit
And /https
too
https://badgen.net/docs/https
from badgen.net.
Related Issues (20)
- [Feature request] Add support for Bitbucket Pipelines
- [Visual Studio Marketplace | Open Vsx] Add extension size badge HOT 1
- `docker/size/library/node` not work
- flat badgen.net builder for github workflows HOT 3
- add live flatpak version badge from flathub
- Add makedeb support
- License name of Dart packages are incorrectly shown
- Chrome web store badge doesn't always show the "K" HOT 9
- Docker Metadata should support OCI Schema because Label Schema is superseded by it HOT 3
- Gitlab Badges are broken HOT 1
- Suggested Icon: Snyk HOT 2
- Badgen with "complex" GET method requests HOT 1
- Improvement: Support Snyk NPM Repositories
- [bug] Matrix badge for `#openinf:matrix.org` channel times out HOT 3
- Icon Support HOT 3
- Docker metadata 500 response. HOT 2
- PeerTube badges does not work
- colorA & colorB HOT 1
- Some hackage badges just display "badgen error" HOT 6
- Enhancement: Ad support for github workflows.
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 badgen.net.