animator icon indicating copy to clipboard operation
animator copied to clipboard

Importing from Figma fails reliably

Open syelan34 opened this issue 3 years ago • 6 comments

When importing projects from the Figma desktop app I get an error saying it was unable to import project. I signed in through the Animator app only a few seconds earlier Screen Shot 2022-02-19 at 10 25 29 PM .

syelan34 avatar Feb 20 '22 03:02 syelan34

Same here. Any ideas on a fix?

RobertDunbar avatar Mar 23 '22 15:03 RobertDunbar

Same here =__=

nicoacvdo avatar Apr 19 '22 19:04 nicoacvdo

same here :(

fnaufalh avatar Apr 22 '22 08:04 fnaufalh

Same also :(

FranktheFurter avatar Apr 28 '22 08:04 FranktheFurter

Same here. Downloaded this to use with Figma, so I'm looking for other alternatives.

lucianodinapoli avatar May 20 '22 09:05 lucianodinapoli

Alright here's the quickest way to make this work, especially if you cannot compile the source in its current state.

Follow this guide and run the server locally. You can test with the /v0/ping endpoint in your browser. https://github.com/HaikuTeam/figma-auth

Download the latest Haiku dmg, copy over the app to the /Applications folder like it says and then follow these steps to extract the app.asar file. Don't forget to rename the original app.asar file to something else so it doesn't get used.

Open the extracted folder in VS Code or something.

  1. Search for baseUrl:process.env.HAIKU_API, change the url after that from https://inkstone.haiku.ai to http://localhost:8080/
  2. Search for tmhDo4V12I3fEiQ9OG8EHh, which is the Haiku Figma plugin client ID, replace that with your own Haiku Figma auth plugin client ID (from when you setup figma-auth above.

https://www.codepicky.com/hacking-electron-restyle-skype/

Run the app and it should work with Figma.

Tbh, after a few days of trying to get this to work and finally getting it working, it was not the right tool and wayyy to unintuitive to do what I was trying to do: A simple PNG sequence in Lottie.

Lottie export might work with SVGs but only from the Main component and other types of export probably doesn't work.

AfzalivE avatar Oct 16 '22 05:10 AfzalivE