Welcome to "ChatGPT Article / Content Generator" repository. Delighted to see you here! This is a Laravel script/app that helps you to create by the tone language unique article/content for your blog, news, recipes ...etc websites or you can use this app in your personal research purposes.
chatgpt-article-generator.mp4
First, Setting up your development environment on your local machine:
git clone https://github.com/mustafatofur/chatgpt-article-generator.git
cd chatgpt-article-generator
composer install
npm install
Rename .env.example to .env and set your OpenAI API key in the .env file:
OPENAI_API_KEY= sk-...
If you would like to make changes on the project run:
npm run dev
And make sure that you already included @vite() directives:
resources/views/layouts/app.blade.php:
<head>
@vite('resources/css/app.css')
</head>
<body>
...
@vite('resources/js/app.js')
</body>
And then, run:
php artisan serve
Now kindly access the application via http://localhost:8000
If you would like to deploy the project after your changes, run:
npm run build
Vite will generate for you asset files under /public/build folder for production:
vite v4.2.1 building for production...
✓ 60 modules transformed.
public/build/manifest.json 0.26 kB
public/build/assets/app-e55e7947.css 25.51 kB │ gzip: 5.34 kB
public/build/assets/app-10a3e433.js 126.33 kB │ gzip: 43.91 kB
Include new asset files to resources/views/layouts/app.blade.php file;
Don't forget to comment out the Vite() directives that is not being used in the production;
<head>
{{-- @vite('resources/css/app.css') --}}
<link rel="stylesheet" href="{{ asset('build/assets/app-e55e7947.css') }}">
</head>
<body>
...
{{-- @vite('resources/js/app.js') --}}
<script type="module" src="{{ asset('build/assets/app-10a3e433.js') }}"></script>
</body>
And you're ready to deploy your project!
Apr 07, 2023
- Added Image generation feature through OpenAI
- Project revised to based on components after added image generation feature
- Added V-Wave