Plasmic is a no-code tool for building websites and applications from scratch. A great solution for a different problem.
266 karma · joined January 2, 2015
Plasmic is a no-code tool for building websites and applications from scratch. A great solution for a different problem.
Puck enables content teams to produce web pages using existing React components produced by their React developers in a fixed and predictable manor that keeps them within the brand guidelines.
You can’t inject arbitrary blocks and can only interact with components that are defined by your developers.
You can render fully fledged pages or even, in theory, applications.
Regarding content, Puck supports inline editing or pulling in data via an API adaptor (such as from a headless CMS).
We don’t have a rich text field type currently, but I’m not opposed to adding it. (Internally, we’ve added a markdown component to enable some basic formatting and longer form content: https://github.com/measuredco/measuredco-site/blob/02fc908b8...)
We built it because we couldn't find something that would let our clients' content teams produce content for their sites without 1) either going off-brand or 2) pestering their devs for layout changes.
However, you might be able to either wrap your component inside the `render` function and define your callback there, or use context to pass in a function from higher up the tree.
If you share your use case, I might be be able to help you out.
Multi-column layouts are incoming very soon
And Puck does support either server or client rendering
However you can use an adaptor if you need to pull data in via a third party API: https://github.com/measuredco/puck/tree/main/packages/adapto...
Docs are limited, but there's a reference data shape here: https://github.com/measuredco/puck#adaptor
Example implementation here: https://github.com/measuredco/puck/blob/main/packages/adapto...
Example usage here: https://github.com/measuredco/puck/blob/main/apps/demo/app/c...
You can either use it for a specific prop (i.e. `name`) or spread the result of the API call across your entire component (use the magic `_data` prop).
The best way to handle this is in the render function you pass to Puck, which can continue to support the old prop (`description`) and map into the new prop (`subtitle`), even if it's not provided by the author.
We don't have a system for migrating props in the actual data yet, but it's something we could look into.
The data shape is detailed here: https://github.com/measuredco/puck#data
A sound data model really helps things out. I'd go API-first.
Drag and drop is a PITA. Specifically multi-column layouts, which require nested dropzones and a bunch of "intuitive" UX. A good library can help here, but not do everything (we're using react-beautiful-dnd which is a bit out of date - dnd-kit might have been a better shout). This hasn't landed in our main branch yet, but you can see it under the nested-dropzones branch (https://github.com/measuredco/puck/tree/nested-dropzones).
If you could write React wrappers for your Vue components, you could potentially leverage Puck directly. That would save a lot of time. And even if not, you might be able to fork it or reuse the data model.
Happy to give you more pointers. If you want to DM, I'm @chrisvxd on Twitter/GitHub and here's my LinkedIn: https://linkedin.com/in/chrisvilla/
Having said that, I believe the EMA (EU) also carried out a rolling evaluation, so I'm not sure what the differences are there.
Something like that could definitely be possible, although it would require a fair bit of work. You can build custom HTML templates for OG IMPACT under the Pro tier, which supports JS.
You could have the template accept the origin URL as a query param, download the page and then do any AI processing using related libraries / APIs. The risk is that this could be quite a heavy template, which could cause timeouts on social media platforms.
Feel free to play around with this using the Editor: http://ogimpacteditor.netlify.com
What would be the reason for using your own CDN?
Today, we're excited to be launching WordCloud, an API that allows you to easily generate stylish preview images from any webpage or text.
It provides a hosted API for stylecloud and wordcloud, by minimaxir and amueller respectively. stylecloud was shared with HN a few weeks ago.
The majority of any revenue generated from this API for the original OSS developers. If this is you, please get in touch to setup payouts and answer any questions you may have.
Thanks,
Chris,
If you run any kind of automation with a browser, you know how difficult it can be to get screenshots that look like they would in a real browser.
Puppet Master is a simple REST API to allow you to grab screenshots and PDFs of any web page, rendered in real Chrome. It’s totally free to try!
It’s built on top of Headless chrome, but because it’s a REST API, using it is as simple as calling a URL, making it perfect if you're unable to run Headless Chrome in your environment. It also scales infinitely because it’s built on top of a serverless architecture, and the pricing scales with your usage.
Puppet Master has been built on top of saasify.sh, a platform we’re building to make it easy to turn your open source software into a fully functional SaaS product. We all love open source, and believe that open source developers should be able to make an income from their valuable projects!
All feedback warmly welcomed!
* Great idea re searching - I did actually have the URL updating, but I had some problems when switching to [react-instantsearch](react-instantsearch/package.json) with the state getting reset, so I temporarily removed it.
* Job posting will absolutely be automated. I just haven't had time to build that yet.
I'm aggregating the jobs, although my only source is currently reed.co.uk (they have a nice API!)
I built this jobs board for myself and my contractor buddies after getting tired of being offered below market rate.
The idea is simple - aggregate contract jobs and analyse their rates against the market so that it's easy to see if they're well paid or not.
It's very much an MVP, so all feedback/questions/ideas welcome.
Chris
---
Update, stack info:
- React, nextjs
- Firebase Cloud Firestore
- Algolia (with react-instantsearch <3)
- Heroku
Then again, this is HN.