customelements / api Goto Github PK
View Code? Open in Web Editor NEWMicroservices that consumes data from Elasticsearch
Home Page: https://docs.customelements.io
Microservices that consumes data from Elasticsearch
Home Page: https://docs.customelements.io
Our most requested feature is to filter results by dependency name and version. For example: search for carousel
repositories that depends on polymer > 1.0.0
.
In order to do that, we first had to fetch dependencies from bower and npm. Fortunately, we've just pushed that and now a result looks like this:
{
"id": 12217367,
"name": "twitter-button",
"description": "Web Component wrapper for Twitter's button using Polymer",
"owner": {
"id": 12434272,
"login": "social-elements"
},
"created_at": "2013-08-19T13:29:28Z",
"pushed_at": "2015-06-05T22:18:43Z",
"forks_count": 16,
"stargazers_count": 34,
"default_branch": "master",
"bower": {
"name": "twitter-button",
"keywords": [
"polymer",
"web-components"
],
"dependencies": {
"polymer": "Polymer/polymer#^1.0.0"
}
}
}
It's time to take the next step and develop this API. My idea is to have something like this:
/search/repos?q=carousel&dependency=polymer:^1.0.0
:
operator.polymer
) we would have to filter the dependencies
property^1.0.0
) we would have identify which versions satisfies or not (semver-regex could help us on that).I'm not quite sure how to accomplish those steps... maybe Regexp Query? I don't know, any ideas?
https://customelements.io/search/paper+date+picker
The above link should include paper-date-picker as a top result, since it's an exact match. Also, items with the most stars are not appearing at the top.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.