Skip to main content

Getting Started

Ghostwriter currently includes four features:

Complete Code - Ghostwriter's flagship feature. Ghostwriter leverages context to provide code suggestions as you're typing. Press tab to accept suggestions.

Explain Code - Highlight code, and Ghostwriter will walk through it step-by-step in plain English.

Transform Code - Transform Code allows users to highlight blocks of code, describe the adjustments needed (like changing variable names), and Ghostwriter will provide a suggested rewrite of the code block.

Generate Code - Provide a natural language prompt, and let Ghostwriter generate code to help solve your problem.

You can get access to these features with a Ghostwriter subscription for 1,000 cycles ($10 USD) per month.

Activating Ghostwriter

Ghostwriter can be activated with Cycles.

Once your purchase cycles, you can activate Ghostwriter from A) the Cycles page or B) the workspace.

Activating Ghostwriter from the Cycles page

  1. Open the Cycles page from the sidebar menu or go to https://replit.com/cycles.
  2. Purchase cycles—you will need at least 1,000 to activate Ghostwriter.
  3. Once you complete checkout, there will be a section to "Activate" Ghostwriter.
  4. Jump into a Repl, and start programming with Ghostwriter!

Activating Ghostwriter from the workspace

  1. Open the Repl Info menu by clicking the name of your Repl in the header.
  2. Once the menu opens, you will see a section for Ghostwriter. Press the "Learn More" button.
  3. Select "Subscribe to Ghostwriter"
  4. Complete Stripe checkout (if you do not have any Cycles in your account).
  5. Jump back into the workspace and start programming with Ghostwriter!

Once you have access to Ghostwriter, all of its features will be enabled in the workspace the next time you code.

Toggling Ghostwriter on and off

To toggle Ghostwriter on and off, navigate to the Cycles page, which can be accessed from the sidebar menu or by going directly to https://replit.com/cycles.

From there, you will have the ability to toggle Ghostwriter on and off (see below).

Was this doc useful?