Skip to main content
Bahtiyar
May 11, 2021 7:20 AM UTC
Solved

Who can see the source code of private plugins?

Is it the publisher only or org admins also have access to the source code?

This topic has been closed for replies.
Gleb
GlebSolution
Power Member
May 11, 2021 2:05 PM UTC

What do you mean by source code? If it’s the code that is compiled and published (code.js and ui.html files) — it’s visible to everyone, just like the code of every website (plugins are just like small websites). If you mean the source code before compiling/bundling (in case you are compiling at all) — that code is not available to anyone and it’s not even sent to Figma.

8 replies

Gleb
GlebSolution
Power Member
May 11, 2021 2:05 PM UTC

What do you mean by source code? If it’s the code that is compiled and published (code.js and ui.html files) — it’s visible to everyone, just like the code of every website (plugins are just like small websites). If you mean the source code before compiling/bundling (in case you are compiling at all) — that code is not available to anyone and it’s not even sent to Figma.

Amaka
Aug 16, 2021 3:11 PM UTC

Hi Gleb, how can i access the source code (the code.js and ui.html file of a plugin)? I’ve looked but i couldn’t find it on any plugin.
Could you help please?

Leonardo_Borrero_Luz
Nov 13, 2021 1:45 PM UTC

Yeah, if the code can be visible to everyone, how can you get access to the code of installed Figma plugins?
I want to be able to see code from other plugins in the community and modify them to my specific needs. Is that possible?

Mikka_Wild_adesso
New Participant
Apr 20, 2023 3:59 PM UTC

This doesn’t work for me, I get the message “You don’t have permission to run this plugin”. Did Figma change this or am I making a mistake?

@Vincenzo_Menni

Vincenzo_Menni
Apr 21, 2023 9:05 AM UTC

@Mikka_Wild_adesso
It’s still working for me. Please make sure that you’re logged in your Figma account in the browser you’re using to access that URL.
Can you share the link to the plugin whose source code you would like to view?

Apr 21, 2023 3:44 PM UTC
Mikka_Wild_adesso
New Participant
Apr 24, 2023 7:28 AM UTC

@Vincenzo_Menni
On Mac Safari it didn’t work, now tried on my Windows with Firefox and it works. Thank you. Now I just need to figure out how to read it 😅 Is there a way to easily save it in a pretty format?

Maida_ccript
Dec 28, 2023 11:44 PM UTC

Hey please explain the method again, your reply is removed.