Initial design plan
See original GitHub issueWorkers design planning
Here we’ll discuss the initial plan for the design of the Built with Workers site. This document was put together by @adamschwartz and @signalnerve with help from @remyguercio and based on research and input from the broader Workers team.
Terminology
- Project – a website, API, service, etc. built partially or wholly with Workers.
- Feature badge – a feature of Workers (e.g. Workers KV) that a project may use, displayed in a way to associate it with the project.
High-level goals of the site
Each goal is listed in a rough priority order. Meaning, for our MVP, we seek to achieve goal 1 stronger than goal 4. Note though that these are somewhat overlapping goals, and design is an art as well as a science, so it’s OK if we’re not strict here.
- Answers the question “What can I build?”
- Directly answers this question for anyone interested in Workers.
- Gives Sales and Support the power to answer that question when it comes.
- Showcases real projects
- (As opposed to examples say in the docs which would be more for learning and thus stripped down and not necessarily live production apps/services.)
- Bonus: a featured project can function as a sort-of case study, perhaps containing quotes or other supporting material to make a stronger case.
- Provides a consistent experience with the Workers homepage
- Intuitive and coherent navigation between the two helps synthesize concepts, particularly when deep linking between the two occurs. (For example, the item view page for a project built with Workers Sites linking to the Workers Sites landing page.)
- Begin to mature and solidify the Workers brand.
- Helps people “put the pieces together”
- e.g. How do I use Workers Sites with HTMLRewriter?
- Bring clarity to complex docs by telling a coherent story.
Features
These are also sorted in rough priority order. Same lack-of-strictness applies.
- Listing page
- Default to manual sort (e.g. via
order
property similar Cloudflare Apps) - Listing page item
- Project title
- Project image
- Feature badges
- Icons
- Project source
- Avatar (user/company) image
- Link
- Featured boolean
- Difficulty level?
- Allow user-enabled sorting (date added, alphabetical, popularity [claps])
- Default to manual sort (e.g. via
- Individual project page
- Everything from “Listing page item” above, plus:
- Project description
- Optional image gallery
- Optional quote
- Claps1
- Edit link to GH issue with prefilled content
- Everything from “Listing page item” above, plus:
- Open-sourcing the Built with Workers site itself
[1]: We’re particularly excited about using Workers KV to build this (and showcasing that as Built with Workers itself will likely be a featured project of the site—yes, how meta of us).
Not doing (for MVP)
Here are a few of the things we considered building but decided against for the MVP. By no means should this list be considered exhaustive. We are happy to consider them after we slap down a v1.
- Feature pages (KV, HTMLRewriter, Wrangler)
- Hero art
- Descriptions
- Examples of features of an app you can build (a login flow, a redirect, an optimized image)
- Live code feature examples with preview
- Code as reference
- Admin author display (“signalnerve edited 4 hrs ago”)
Potential list of feature badges
We think feature badges are going to be really fun. But we’re not sure exactly how they’ll work. We may have categories of these which could be distinguished e.g. by color.
- Workers features (proper badges) (orange)
- Workers KV
- Workers Sites
- HTLMRewriter
- WASM
- Cache API
- Things that supercharge you (blue)
- workers.dev
- Github Action
- Wrangler
- Tools to help you build with Workers (purple)
- React
- Gatsby
- Svelte
- etc.
Content
We plan to take a content-driven approach for the initial design. This is generally a solid approach to design, but it’s especially critical when designing a site whose content is generated by someone other than the designer.
Projects
The main content of course are the projects. So, with the help of @remyguercio we generated an initial list. If you know of know of any projects we missed, please let us know!
- Cloudflare & Employees
- https://www.cloudflare.com/products/cloudflare-access/
- https://workers.cloudflare.com/
- https://developers.cloudflare.com/workers/
- https://web.scraper.workers.dev
- https://lazy.invoice.workers.dev/
- https://www.bytesized.xyz/
- https://repo-hunt.signalnerve.workers.dev/
- https://github.com/signalnerve/bridge
- https://github.com/signalnerve/workers-graphql-server
- https://github.com/signalnerve/cloudflare-workers-todos
- https://ritakozlov.com/
- https://blog.cloudflare.com/fast-google-fonts-with-cloudflare-workers/
- https://blog.cloudflare.com/real-urls-for-amp-cached-content-using-cloudflare-workers/
- https://workers.dev
- https://docs.google.com/document/d/14SpeA8E79aDzCKfdkb9edjl3vSLKc6OWNFcPojz-nR4/edit
- External
- https://www.happycog.com/
- https://blog.optimizely.com/2019/09/12/performance-edge/
- https://telex.blog/
- https://www.digitaloptgroup.com/
- https://factoriomaps.com/
- https://github.com/lukeed/svelte-ssr-worker
- https://github.com/bcnzer/cloudflare-worker-template-auth0-jwt
- https://levi.lol/url-shortener-built-on-cloudflare/
- https://blog.cloudflare.com/the-samknows-cloudflare-platform/
- https://jross.me/free-personal-image-hosting-with-backblaze-b2-and-cloudflare-workers/
- https://jross.me/using-cloudflare-workers-htmlrewriter-to-extend-ghost-pro/
- https://www.cloudflare.com/case-studies/cordial-workers-black-friday/
Mockups
I know y’all want to see pretty pictures. I promise, they will soon exist. However, at this stage we feel it’s more important to share the plan, get feedback, and build consensus before drawing a bunch of rectangles.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
yes – this will live on workers.cloudflare so it should be thought of as conceptually different than tutorials/docs content generally. i think the docs redesign is a better spot to iterate on tutorials/how-to content for our audience
While we didn’t quite get to everything here, most notably “feature badges”, I’m closing this for now since it’s not particularly actionable. We should still continue to use it as a reference post-MVP GTM but we shouldn’t consider not completing everything above as a blocker for release. Instead we’ll create individual issues as needed.