init
This commit is contained in:
65
README.txt
Normal file
65
README.txt
Normal file
@@ -0,0 +1,65 @@
|
||||
|
||||
AI Email Generator
|
||||
==================
|
||||
|
||||
This is a simple AI-powered Email Generator tool that helps users turn rough email drafts into polished emails.
|
||||
It uses OpenAI's GPT API (gpt-3.5-turbo) to generate emails in various tones and languages.
|
||||
|
||||
---
|
||||
|
||||
▶ FEATURES:
|
||||
- Choose between 3 Tones: Formal, Casual, Persuasive
|
||||
- Supports 25 Languages (English, Swedish, Spanish, French, German, etc.)
|
||||
- Copy email to clipboard
|
||||
- Save email as .txt file
|
||||
- Toggle Dark Mode for better readability
|
||||
|
||||
---
|
||||
|
||||
▶ INSTALLATION:
|
||||
1. Make sure your server has PHP 7.4+ and cURL enabled.
|
||||
2. Create an OpenAI API Key from:
|
||||
https://platform.openai.com/account/api-keys
|
||||
|
||||
3. Add your API key inside the `config.php` file like this:
|
||||
```php
|
||||
<?php
|
||||
return [
|
||||
'openai_api_key' => 'YOUR_OPENAI_API_KEY_HERE',
|
||||
];
|
||||
?>
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
▶ USAGE:
|
||||
1. Open `index.php` in your browser.
|
||||
2. Paste your rough email draft.
|
||||
3. Select tone and language.
|
||||
4. Click “Generate Email”.
|
||||
5. Copy, save, or toggle dark mode as desired.
|
||||
|
||||
---
|
||||
|
||||
▶ FILES INCLUDED:
|
||||
- index.php → Main form page
|
||||
- process.php → Handles API requests and generates the email
|
||||
- style.css → Styling for the tool (with dark mode)
|
||||
- config.php → Configuration (API key)
|
||||
- home.php → landing page
|
||||
---
|
||||
|
||||
▶ NOTES:
|
||||
- You need an active OpenAI API Key with sufficient quota.
|
||||
- The tool works locally or on any PHP-compatible web server.
|
||||
- If the buyer wants to integrate this tool into an existing website or system,
|
||||
it is their responsibility to handle the integration. This tool is provided as a standalone solution.
|
||||
|
||||
---
|
||||
|
||||
▶ LICENSE:
|
||||
This project is provided "as is" for personal or commercial use.
|
||||
No liability is accepted for API costs or usage.
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user