Coder Social home page Coder Social logo

dursuntokgoz / chatgpt-article-generator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mustafatofur/chatgpt-article-generator

0.0 0.0 0.0 103 KB

Generate unique articles/contents via ChatGPT API

JavaScript 5.24% PHP 64.63% CSS 0.61% Vue 5.45% Blade 24.08%

chatgpt-article-generator's Introduction

๐Ÿง  ChatGPT Article / Content Generator

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

Get Started

Installation

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-...

Run The Project

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

Deploy The Project

Building for production

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!

Thanks to:

Beside Laravel, this project uses other tools like:

chatgpt-article-generator's People

Contributors

mustafatofur avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.