scverse / ecosystem-packages

Registry for scverse ecosystem packages (https://scverse.org/packages/#ecosystem)
BSD 3-Clause "New" or "Revised" License
18 stars 40 forks source link

scverse badge #4

Open grst opened 1 year ago

grst commented 1 year ago

We probably want some sort of badge which people can pin to their approved repositories. Any suggestions how this could look like?

grst commented 1 year ago

scverse approved scverse ecosystem

Zethson commented 1 year ago

I like this. It's not possible to make a badge two colored, right? So blue + yellow?

grst commented 1 year ago

not with shields.io afaik. But it could be any svg served from scverse.org.

Zethson commented 1 year ago

While it would be nice it might not fit with other badges then.... I quite like the homogeneous green nextflow badges. Let's bring it up at the next governance meeting.

ivirshup commented 1 year ago

Also could put our logo in it:

code ```python import base64 def make_url(img: bytes) -> str: return f"https://img.shields.io/badge/scverse-ecosystem-black.svg?logo=data:image/svg%2bxml;base64,{img.decode()}" img = base64.b64encode(Path("./scverse_bw_logo.svg").read_bytes()) print(make_url(img)) ```
Zethson commented 1 year ago

Hell yeah @ivirshup

flying-sheep commented 1 year ago

I like this. It's not possible to make a badge two colored, right? So blue + yellow?

Yes it is, among a bunch of other parameters. see docs: https://shields.io/badges

https://img.shields.io/badge/scverse-ecosystem-blue.svg?labelColor=yellow

mikelkou commented 9 months ago

Can we still add the logo in the colored one?

mikelkou commented 9 months ago

I couldn't resist and I added it already to my repository. 🤭 The colored one will look better I think.

gtca commented 9 months ago

Maybe

and

then?

Or actually / might look a bit cleaner.