-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add camomile #1
Add camomile #1
Conversation
This reverts commit bc0b75f.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super exciting! I’ve pinged the camomile
npm owner again!
First part of nits :)
Co-authored-by: Titus <[email protected]>
Co-authored-by: Titus <[email protected]>
Co-authored-by: Titus <[email protected]>
I think this is ready now. All open comments have a response from me now. There are some comments which mostly seem to be subjective aesthetics / nits, which I wouldn't make blocking for merge but willing to discuss in each thread. There is the comment about rounding down versions numbers, which I find odd but willing to change of course if that is considered blocking. |
I think this is good to go now @Murderlon? Do you want to merge this, shall I do it? |
we got the npm name, released! https://github.com/rehypejs/camomile/releases/tag/1.0.0 |
Maybe a stupid question, as a non-native English person, I don't quite get why |
The original project that is unmaintained was called "camo", which is a shortening of camouflage. In the readme you can find a section "when should I use this?" which answers your second question! |
OK, actually I mean the discoverability of the package. Usually projects under |
It's a bit of an outlier indeed, but in this case the |
My point is still the discoverability of the package. I'm fine with name without But if you think |
Yes, we cannot use Choosing a meaningful name is nice for something like I don’t worry about discoverability. The keywords and description and the partial match of |
As discussed in the RFC unifiedjs/rfcs#9, here is the implementation of camomile, our Node.js image proxy to work together with
rehype-github-image
.How it works
camomile works together with
rehype-github-image
, which does the following at build time:After your web app serves the content to the user, camomile takes over:
the origin server and streams it to the client.
Features
maxSize
option in bytes to limit the downloading of resources (failing if exceeded)Future additions
server.on('foo', () => {})
)Time spent
36 hours (without implementing feedback)