Skip to content

✏️ Generate human quality code from your design. supports flutter, react, vue, figma, sketch, xd

License

Notifications You must be signed in to change notification settings

genoplan-gin/assistant

 
 

Repository files navigation

framework platform title
figma, flutter, react
Android, iOS, Web, macOS, Linux, Windows
bridged assistant for figma, sketch, xd

bridged assistant

Bridged Assistant plugin (figma to flutter)

Any design to high quality code, with live preview.

bridged figma to code demo with live preview

  • ✅ Human readable code generation.
  • ✅ code generation built with CoLI, developed especially for assistant usage, ensuring the best code generation quality.
  • ✅ Slots support (Component with parameters)
  • ✅ Modularized code generation / readability. All production level code, code beign generated as Functions, Varables, Ect..
  • ✅ Design Linting - Visaully makes sence, Structure made sence.
  • ✅ Cloud Resource Copy. Copy your resource in 1 second. (No need to download images and move under res/)
  • ✅ Live preview via console - compiles output source remotely makes design to living application within seconds
  • ✅ Context detection - bridged assistant understands the design, than converts it into a hight quality code. we don't generate rect and text code for a button. We generate button code for a button.

Usage

install figma plugin via below link. note that the published plugin is allways behind few new features behind this repository. for trying out the latest and mindblowing features, please build from your local environment directly.

install via figma plugin link here

Cloning and running the project. we use yarn workspace for maintaining this project as monorepository. Some additional steps are required to run this project properly.

# [REQUIRED] we use git submodules for `packages/`. you have to explicitly execute this command instead default clone.
git clone --recurse-submodules https://github.com/bridgedxyz/assistant.git

cd assistant

# [REQUIRED] yarn will install dependencies, link packages, and generate compiled code of packages, so it can be referenced by root projects.
yarn

# [OPTIONAL 1] run figma plugin in dev mode
yarn figma

# [OPTIONAL 2]run sketch plugin in dev mode
yarn sketch

# [OPTIONAL 3 & Contributors only] run plugin ui in webdev mode
yarn webdev

soon as the subpackages are released as stable, we will remove git submodule dependency for ease of use. until then, this will be the primary repository and all the edits and PRs will be caused by this project.

sometimes, when pulling this repo from remote, if new submodule package is added, you'll need to run below command to pull with updated submodules (we recommand you to know what this command actually does in a nut shell.)

git submodule update --init --recursive

Pre-requisites

Flutter code builder

flutter widget builder is done by figma/flutter and the core builder is powered by bridged's dynamic

  • figma/flutter
  • bridgedxyz/flutter-js
  • bridgedxyz/dynamic
  • Theme.of Textstyle support
  • Colors. Color support
  • ✅ Slots support (not static content)
  • ✅ Modularized builder functions - (not all-in-one widget tree)
  • ✅ formatted dart code
  • ✅ Best code quality (I Assure,) in this planet

Console & Cloud integrations

Watch the demo on our website

Bridged consle integrated with assistant enables you to manage your design's content in one place. even if text, image is updated, you don't need to update your code. our cloud service got your back.

Learn more at console repository

UI Element Detection

rule based button / input / icon detection with @reflect.bridged.xyz/detection Higher quality ML based detection available at Bridged's context engine

Design Assistant

We provide various tools for you for creating stauning designs, and making you 10 times faster to create a working prototype.

Features

Development guide

Building the plugin

  • figma: See plugin README
  • sketch: sketch platform will be available soon

Running as Webdev

webdev is a mode that you can run assistant as a standalone appliaction for ui development purpose of its' you can't acccess or call api to design tools.

Learn more at ./webdev

yarn

# on root
yarn webdev

# or..
cd webdev
yarn start

Debugging

Use console.log statements to inspect values in your code.

To open the developer console in the Figma desktop app, go to PluginsDevelopmentOpen Console.

Docs

Contributing & Project Structure

general See this project's contributing guideline and technical overview here. And general bridged project contribution and collaboration guideline here.

supported platforms and frameworks

Changelog

we release new updates in a by-monthluy cycle. Watch this repository on github or signup for our news letters on bridged.xyz

All update logs available at CHANGELOG.md

LEGAL

read LICENSE.

to shortly brief,

  • any form of modifing this software, including clone, fork, merge is allowed with no restrictions.
  • making profit "by using" this software is allowed with no restrictions.
  • making profit "by re-distributing" is not allowed. recap, you cannot publish this plugin as an alternative to this original plugin. -- why is that? we are taking "minimum" profit from this software, we will prevent from other enterprise from copycatting this software.
  • the code and packages distributed via this repository is free to use without any restrictions.
  • code, design is free to use and modify. (just don't make any profits by re-distributing this plugin.)

DISCLAIMER

re-use of this software and it's license is overrided by contributing-and-license

About

✏️ Generate human quality code from your design. supports flutter, react, vue, figma, sketch, xd

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 85.1%
  • JavaScript 5.6%
  • Dart 5.2%
  • CSS 1.5%
  • HTML 1.4%
  • Pug 0.6%
  • Other 0.6%