Micro AI Tool

Text Tone Converter

This project rewrites any draft text into a different tone without using a database.

What It Does

Setup

  1. Open functions/config.local.php.
  2. Add your OpenAI API key to openai_api_key.
  3. Keep or change the default model in openai_model.
  4. Optional: add adsense_client and adsense_sidebar_slot to activate the right sidebar ad area.
  5. Make sure PHP curl is available on the server.
  6. Load /TextToneConverter/ in your browser through MAMP.

How To Use

  1. Paste the original text.
  2. Select the target tone, intent, and format.
  3. Add optional context or a communication goal.
  4. Click Convert Tone.
  5. Review and copy the result from the popup modal.

Folder Structure

Security Notes

Troubleshooting