> ## Documentation Index
> Fetch the complete documentation index at: https://gocharting.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Sharing scripts

> Publishing an indicator or strategy to the script store, choosing who can see and use it, and what readers can do with a published script.

Publishing puts a copy of your script in the script store, where other users can find, add, like and comment on it. You decide whether it is public, and how much of the source readers see.

## What publishing needs

Publish from the editor once the script compiles. A script that has not been compiled is refused with Please compile the script before publishing. Publishing asks for:

* a **title** and a **description**: both are required, and a public script needs a description of at least 150 characters;
* a **screenshot** of the script on a chart;
* **privacy**: public or private;
* **access**: how readers may use the script (below);
* optional **tags**.

The published copy keeps the kind of the script (indicator or strategy; a strategy's orders stay simulated for whoever adds it) and the source as it was when you published, including its `//@lipi=N` line, so it keeps the language version it was written in (see [Moving a script from Lipi v1 to v2](https://gocharting.com/docs/scripting/getting-started/migrating-from-v1.md)). Editing the script in the editor afterwards does not change the published copy. To change it, update the published script: you can edit its title, description, screenshot, privacy and access, and replace its source with the current compiled version of your script. Only you can update or delete it.

## Public or private

A public script is listed for everyone and can be searched by title (and, optionally, description). A private script is listed only to you. You can switch a published script between the two by updating it.

## Access to the source

| Access | Who can add it to a chart | Who can read the source |
| - | - | - |
| Open source | Everyone | Everyone |
| Protected | Everyone | Only you |
| Invite only | Only you | Only you |

Invite only is in testing and is not available to all users yet.

Choose open source when you want others to learn from the script; choose protected to let people use a script without seeing how it works.

## What readers can do

* **Search and sort.** Search the store by text and sort by number of likes or by title.
* **Like.** Each reader can like a public script; the store counts likes against it.
* **Comment.** Readers comment on a script and reply to each other's comments; you can edit or delete your own.
* **Report.** A reader can report a published script. An administrator can disable a script; its author can then no longer update it (This script has been disabled by an admin).
* **Read.** Read an open-source script to see how someone solved a problem like yours (see [Reading someone else's script](https://gocharting.com/docs/scripting/getting-started/reading-scripts.md)).

Share a script you have not finished with a private publication first: you can make it public later without republishing.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.