dherault/ecu

A shield

โ˜… 0Forks 0TypeScriptGitHub โ†—Compare

README

Ecu

A self-reprogramming shield for React apps

About

Ecu is a Figma open-source alternative that allows React developers to create any app in a fraction of the time required to code it "manually".

It acts as a shield around your app to reprogram it as you create new components, style them, drag-and-drop them into the app, and so on.

Current features

  • Create components
  • Insert component in hierarchy
  • Delete component from hierarchy
  • Manage component imports
  • Manage component prop types
  • Manage global types
  • Text editing
  • Undo/Redo
  • Component screenshots
  • Packages management
  • Design system
  • Fonts and CSS variables management
  • Favicon management
  • Dark mode
  • Interactive mode

Working on

  • Style components

Roadmap

  • Drag-and-drop components
  • Props editing
  • Routing
  • State management
  • Context management
  • Delete component/file
  • App ejection and build

And much more!

Development

Run npm i in the root, packages/ecu, packages/ecu-client, and packages/ecu-server directories.

Run npm run dev in the packages/ecu, packages/ecu-server and packages/ecu-client directories.

Etheir:

  • Use the shared dev Ecu app for a lot of boilerplate and use cases: cd .. then git clone [email protected]:dherault/ecu-app.git then cd ecu-app then npm i then cd app then npm i.
  • Use a blank new Ecu app for a project creation developer experience: create an empty git repository at ../ecu-app (cd .. && mkdir ecu-app && cd ecu-app && git init). Run npx ecu create in ecu-app.

Go back to ../ecu and run npm run link. You Ecu app at ../ecu-app now uses the dev version of Ecu.

Finally, in ../ecu-app run npm run serve in a first terminal and npm run dev in another one. You can now open the link given by ViteJS to view the live app using Ecu. ๐ŸŽ‰

License

MIT

Contributors

dherault

Issues