All Projects β†’ Organic-Basics β†’ Ob Low Impact Website

Organic-Basics / Ob Low Impact Website

Licence: other
The Low Impact version of the Organic Basics website

Projects that are alternatives of or similar to Ob Low Impact Website

Nuxt Shopify
πŸ› Seamless Shopify Buy SDK integration with Nuxt.js.
Stars: ✭ 210 (+42.86%)
Mutual labels:  shopify, nuxtjs
Nuxt Payload Extractor
Nuxt.js module that makes `nuxt generate` command to store html and payload separately.
Stars: ✭ 140 (-4.76%)
Mutual labels:  nuxtjs
Contenta vue nuxt
Start in minutes a Drupal 8 with JSON API and Vue.js : a Nuxt.js ( Vue.js SSR ) consumer for Contenta CMS
Stars: ✭ 125 (-14.97%)
Mutual labels:  nuxtjs
Nuxpress
A Nuxt-based blogging engine and boilerplate
Stars: ✭ 135 (-8.16%)
Mutual labels:  nuxtjs
Pathpida
TypeScript friendly internal link client for Next.js, Nuxt.js and Sapper.
Stars: ✭ 127 (-13.61%)
Mutual labels:  nuxtjs
Basic Shopify Api
A simple API wrapper for Shopify using Guzzle for REST and GraphQL
Stars: ✭ 137 (-6.8%)
Mutual labels:  shopify
Concrete
πŸ— Concrete Shopify Theme Framework
Stars: ✭ 124 (-15.65%)
Mutual labels:  shopify
Xm Nuxtjs Wordpress
πŸŽ‰Nuxt.js+Wordpress Rest API
Stars: ✭ 144 (-2.04%)
Mutual labels:  nuxtjs
Sneaker Monitors
A collection of web monitors that notify of restocks or updates on sneaker related sites through Discord Webhook. This includes Shopify, Nike SNKRS (supports 42 countries), Supreme and now Footsite monitor!
Stars: ✭ 130 (-11.56%)
Mutual labels:  shopify
Surmon.me
πŸ†’ My personal website and blog, powered by @vuejs (3)
Stars: ✭ 1,767 (+1102.04%)
Mutual labels:  nuxtjs
Blog Module
Build your blog with @nuxt
Stars: ✭ 130 (-11.56%)
Mutual labels:  nuxtjs
Nuxt Beginners Guide
Japan's first book that corresponds to Nuxt.js v2 and focuses on deep content.
Stars: ✭ 127 (-13.61%)
Mutual labels:  nuxtjs
Web Vitals Module
Web Vitals: Essential module for a healthy Nuxt.js
Stars: ✭ 138 (-6.12%)
Mutual labels:  nuxtjs
Nuxt Helmet
πŸ‘· Helmet for Nuxt
Stars: ✭ 126 (-14.29%)
Mutual labels:  nuxtjs
Openship
e-commerce automation
Stars: ✭ 143 (-2.72%)
Mutual labels:  shopify
Nuxt Svg Loader
SVGs as components, also on the server side!
Stars: ✭ 125 (-14.97%)
Mutual labels:  nuxtjs
Jellyfin Vue
A modern web client for Jellyfin based on Vue.
Stars: ✭ 129 (-12.24%)
Mutual labels:  nuxtjs
Shopify Modern
A modern template for developing Shopify-themes using Vuejs
Stars: ✭ 136 (-7.48%)
Mutual labels:  shopify
Vue Awesome Swiper
πŸ† Swiper component for @vuejs
Stars: ✭ 12,072 (+8112.24%)
Mutual labels:  nuxtjs
Vue Soundcloud
🎧 A SoundCloud client built with Vue and Nuxt
Stars: ✭ 141 (-4.08%)
Mutual labels:  nuxtjs

Build Status

The Low Impact Website by Organic Basics

The internet is dirty. Data transfer requires electricity, which creates carbon emissions β€” and this leads to climate change. The Low Impact website reduces data transfer by up to 70% in comparison to our regular website.

Low Impact Manifesto

To build this website, we wrote down 10 rules for how to make a low impact website. We share these openly, so you can use it in your own project.

A low impact website:

1. Does not load any images before they are actively requested by the user.
2. Minimizes the power consumption on the users device.
3. Adapts to reflect the amount of renewable energy it’s currently running on.
4. Informs the user of the impact of their browsing behavior.
5. Does not make use of videos.
6. Stores data locally on the user’s device to minimize data transfer.
7. Compresses all data to the greatest extent possible.
8. Loads only the most crucial programming scripts, frameworks and cookies.
9. Limits the amount of light emitted by the screen.
10. Optimizes and limits the use of custom fonts.

Setup

The Low Impact Website uses Shopify's Storefront API to fetch products and basic ecommerce functionality. It uses the Nuxt.js framework.

Installation

To get started, you first need to install Yarn, and then run yarn install.

Environment variables

Shopify

To setup your environment variables, you should copy the .env.example file and rename it .env. Then you must fill it out with your own Shopify setup.

Organic Basics uses 4 different production Shopify shops and 1 for development, so we have defined 5 Apollo clients in nuxt.config.js: eur, gbp, usd, dkk and dev.

These 5 different configs are used to navigate between different currencies, and thus Shopify shops.

This happens via the _locale part of the Nuxt routing, e.g. https://lowimpact.organicbasics.com/eur.

You might not need 5 different shops, and so you must adapt the nuxt.config.js and .env files.

Contentful

We also use Contentful to display some content on the product pages. To fetch this, you must fill in .contentful.json with your own values.

Usage

To start the development server at localhost:3000, run yarn dev.

To build for production, run yarn build.

To launch the server and the production build, run yarn start

For a more detailed explanation on how things work, check out Nuxt.js docs.

Disclaimer

The Low Impact Website code is highly customized to the Organic Basics' website setup, and will more than likely not easily transfer to your setup.

Thus the main outcomes of making this code available to the public will likely be in sharing learnings and techniques, instead of providing a plug-and-play solution for low impact websites. But if you want to make such a thing, let us know!

Support

Organic Basics does not currently have the resources to provide any support to help you setup this project.

If you find any bugs, issues or similar, please create an issue on this Github repository.

License

The Low Impact Website code is released under the Climate Strike License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].