Skip to content

WebDevStudios/wds-ichabodjs

 
 

Repository files navigation

Faust.js

What is Ichabod.js?

Ichabod is WebDevStudios' headless framework, based on the powerful Faust.js framework built by WPEngine. Ichabod has the same tooling and features of Faust.js, but augmented with the build scripts, code checking, and other amazing features that make building with WordPress a breeze at WebDevStudios.

Note: some documentation from Faust.js is preserved for legacy and instructional reason. The original Faust name will be kept in this documentation to alleviate confusion.

Quickstart

Run the following command:

npx create-next-app \
    -e https://github.com/WebDevStudios/wds-ichabodjs/tree/prod \
    --example-path examples/next/faustwp-getting-started \
    --use-npm

Now that the project is created, cd into your new app folder. For example, if you named your project MyProject:

cd MyProject

Once inside your project folder root, copy the sample .env.local.sample file and create a new one called .env.local:

cp .env.local.sample .env.local

We will update the .env.local variables shortly. But for now, run the local development server:

npm run dev

Once the development environment is up and running, navigate to http://localhost:3000 in your browser to view it.

Currently, the posts and pages you see are coming from the WordPress site at https://faustexample.wpengine.com.

Getting Started

Faust.js aims to be framework agnostic, so it can be used with any front-end framework. Visit one of the guides below for a starting point:

As we work towards our first release, we will be introducing support for other frameworks.

System Requirements

  • Node.js v16.0.0 or newer (v16.8.0 when using Next.js 13 and v18.17 when using Next.js 14).
  • MacOS, Windows (including WSL), and Linux are supported.

Documentation

Visit https://faustjs.org/docs/getting-started to view the full documentation.

WordPress Plugin (FaustWP)

There are two key parts to Faust.js: the NPM packages and the WordPress plugin. To take full advantage of headless, you will need to install the plugin in addition to the npm packages.

You can download and install FaustWP from the WordPress Plugin Directory, or by using the zip linked below.

📥 Download Latest Version

Community

To chat with other Faust.js users and the headless community as a whole, you can join the WP Engine Developers Discord.

Additionally, if you have questions or ideas, please share them on GitHub Discussions.

Contributing

There are many ways to contribute to this project.

Contributor License Agreement

All external contributors to WP Engine products must have a signed Contributor License Agreement (CLA) in place before the contribution may be accepted into any WP Engine codebase.

  1. Submit your name and email
  2. 📝 Sign the CLA emailed to you
  3. 📥 Receive copy of signed CLA

❤️ Thank you for helping us fulfill our legal obligations in order to continue empowering builders through headless WordPress.

About

Ichabod.js - WebDevStudios' Headless Framework Based on Faust.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 52.5%
  • MDX 17.6%
  • PHP 16.7%
  • SCSS 7.7%
  • JavaScript 3.8%
  • CSS 0.9%
  • Other 0.8%