Skip to content

Cerchie/share-pear

 
 

Repository files navigation

Contenda: Upload original content. Create unlimited transformations.

Share Pear: Share like a pear 🍐

Share Pear is a platform built with Astro, Netlify On-Demand Builders, and Edge Functions to consume markdown content and generate public HTML pages from that content!

Netlify Status

πŸƒβ€β™‚οΈ How to run the repo locally

  1. Clone the repo
  2. Run npm install && npm run dev
  3. Navigate to localhost:3000/blog/whatever

You'll have to hard-code in some URI-encoded markdown in the url, for example localhost:3000/blog/whatever/{MARKDOWN}, to see how a blog looks.

πŸͺ„ How to use the site in general

  1. Query https://share.contenda.co/blog/[SOMETHING] with a GET request
  2. The headers of the GET request have to include markdown: "blah" where blah is the blog content. This request publishes your blog post at the https://share.contenda.co/blog/[SOMETHING] url for 30 days.

Example request in Postman

πŸ’– Learn more + Support

We are super grateful that you've checked out Share Pear. Any ⭐ on the repo, or upvotes at the following links, would be greatly appreciated!

Here is how this repository was built, and our announcement post for the feature!

Share Pear - An open source, public content-sharing generator | Product Hunt

About

sharing is pearing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Astro 85.6%
  • JavaScript 14.4%