GithubHelp home page GithubHelp logo

msfeldstein / scripter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rsms/scripter

0.0 1.0 0.0 16.59 MB

The Scripter Figma plugin

Home Page: https://figma.com/c/plugin/757836922707087381/

License: MIT License

Shell 0.10% JavaScript 95.51% CSS 1.09% TypeScript 3.28% HTML 0.01%

scripter's Introduction

Scripter

A Figma plugin that runs scrips directly in Figma.

Install in Figma...

Local development

  • You'll need a recent release of Nodejs installed (Homebrew: brew install nodejs)
  • First time setup: npm install
  • Build it all and run local dev server: ./misc/dev.sh

Notes:

  • ./misc/serve.js can be used to serve up the current "release" build in ./docs
  • ./misc/build-plugin.sh builds the figma plugin in release mode
  • ./misc/build-app.sh builds the app in release mode into ./docs

Q&A

Where are scripts stored?

Scripter stores its scripts locally on your computer, in the browser's—or Figma desktop app's—local storage, specifically IndexedDB.

How do I download a copy of my scripts?

To download a zip archive of all your scripts, scroll to the bottom of the sidebar menu and select "Export all scripts".

Help! My scripts are gone

Scripter stores its scripts in the browser's local storage, so if you are using a different browser you may want to open the one you used before and download your scripts to transfer them. Another possibility is that you manually deleted your browser's local storage, for example by using Chrome's "Clear Browsing Data" function.

If you are using the Figma desktop app and you didn't do any of the above, it may be a bug in Figma. If so, please reach out to Figma customer support using the "(?)" icon in the bottom right of the screen inside Figma (or email [email protected])

Help! I can't access Scripter in Figma

If you are unable to access Figma to launch Scripter, you can visit https://scripter.rsms.me/ where you can browse and download your scripts. Remember to visit this website using the web browser that you used in the past for Scripter. If that was the Figma desktop app and you are unable to sign into Figma, open the desktop app's developer tools (Help → Toggle developer tools). In the "Console" enter document.body.innerHTML="<iframe style='width:100vw;height:100vh' src='https://scripter.rsms.me/'></iframe>" and press RETURN to load that website in Figma.

scripter's People

Contributors

alexjlockwood avatar rsms avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.