cube707 / badges Goto Github PK
View Code? Open in Web Editor NEWA List of usefull standard badges generated via shield.io
License: MIT License
A List of usefull standard badges generated via shield.io
License: MIT License
There is a limit on the total size of request headers we can accept (8192 bytes). From a practical perspective, this means the base64-encoded image text is limited to somewhere slightly under 8192 bytes depending on the rest of the request header.
once #4 is implemented, only getting the svg data requires a internet connection, so it might be usefull to give an option to disable requests if a user wants to work offline
the api should consist of functions that a user can use to get the comandline functionalaty directly from within python. So the same functions are required:
create_badge()
for a single badgegenerate_badges()
for multiple badges at oncecheck()
or validate_dataset()
to validate a datasetget a first working demo.
if the keyword 'brand' gets passed as a color
and simpleicon
is used, the brandcolor should be picked automatically
depends on #4
when using a svg-file and send it to the server, it would be nice to be able to optimize the svg, redicing the size as much as possible
The interface should consist of these commands:
create
a single badge.generate
a set of badges at once, from a datasetcheck
if a dataset is valid, not jet sure if fthis makes sensuse utllib
to represent the url and params parts inside the class and construct it on request, making it much more mantanable and reducing errors that might happen with the manuall sting manipulation
the request should be async, so that the generate
command can work on multiple badges in paralel while waiting for server responses.
the names usable on simpleicons should be cached in the package instead of requiering a web-request every time. Ther is a list at https://github.com/simple-icons/simple-icons/blob/develop/_data/simple-icons.json
either update it via a github-workflow or, even better, have a update function that gets called wehen the CLI finishes
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.