-
✔️ Set up Express, middleware, and routes
-
✔️ Make POST requests to OpenAI with createChatCompletion function
- See
src/controllers/openaiController.js
- Check out the OpenAI docs for instructions on how to customize your requests
- See
-
✔️ Build a simple frontend UI
-
✔️ Generate a structured project roadmap with the help of createChatCompletion function
-
👷 Connect GitHub API to get related projects
-
👷 Condense
Whispr
documentation into pages, instead of sections
-
Explore the modularity of GPT when used programmatically.
Whispr
can make external API calls to OpenAI API and GitHub API. It can analyze large amounts of data and provide actionable insights.
-
Explore methods to make prompt engineering accessible to users.
- Users should be able to customize their prompts in an accessible frontend UI.
-
Don't reinvent the wheel.
- I'm only building the backbone of this web app to handle user interaction and server requests.
gpt-3.5-turbo
does the heavy lifting by delivering novel, creative, and structured roadmaps.
- I'm only building the backbone of this web app to handle user interaction and server requests.
Whispr
is a simple web app that helps aspiring developers plan their projects, from beginning to end.
-
Lack of long-term planning, leading to scope creep:
- Aspiring developers spend the majority of their time practicing languages and frameworks. Project planning is usually an afterthought, after some code has already been written.
-
Lack of clarity in tech stack selection:
- Aspiring developers often struggle to choose the right technologies for their projects. They need guidance on selecting appropriate programming languages, frameworks, and tools based on project requirements and industry trends.
-
Select from a list of relevant technologies, such as
HTML
,CSS
,Bootstrap
,Javascript
,Python
,Express
,SQL
,MongoDB
, and so on... -
Generate a list of project ideas that incorporate selected technologies. The user chooses their favorite project idea.
-
Generate a project roadmap, based on the selected idea.
- For each phase in the roadmap,
Whispr
generates insight on how to integrate the selected technologies.
- For each phase in the roadmap,
-
Find open-source projects on GitHub that have already incorporated the selected technologies.
- GitHub API enables
Whispr
to seek repositories based on their tags, such asjavascript
andbootstrap
.
- GitHub API enables
These instructions will help you get the project up and running on your local machine for development and testing purposes.
To run this project, you need to have the following software installed:
- Node.js - Download and Install Node.js
- npm - Usually comes bundled with Node.js
- Postman - Only necessary for API testing and development
- Clone the repository:
git clone [email protected]:peterahn8/Whispr.git
- Install dependencies via CLI:
npm install
- Open your terminal emulator of choice
- Navigate to the local
Whispr
project folder via CLI - Run
node src/server/server.js
to start the server - Run Postman and submit your API requests. The body of the request looks like this:
- Create a
.env
file in your local repository and enter your API key, namedOPEN_AI_KEY
- The contents of the .env file will look like this:
Don't forget to set up your secret key in a .env
file!
Basic createChatCompletion functions reside in src/controllers/openaiController.js
.
Check out the OpenAI docs for more guidance.
If you'd like to collaborate, please message me! The project is not in MVP stage yet, but I'm all ears if you have advice.
Also, if you're getting started on your own AI-related projects, I'd love to learn more about them!
Feel free to modify the content to match your project's specifics, such as project name, description, prerequisites, installation steps, usage instructions, configuration details, contribution guidelines, and license information.
Remember to update the relevant sections with the actual instructions and information specific to your project. Good luck!
-
"ChatGPT can already solve this problem. Just ask it for project ideas."
- This is true, but
Whispr
turns project planning into a modular process. You can easily enable/disable selected technologies, rather than asking ChatGPT questions ad-nauseam.
- This is true, but
-
"Does
Whispr
give advice on how to code?"- No. In an effort to minimize the scope of
Whispr
, it will not teach developers how to code. It will only give insight on how to integrate their tech stack in a project, via a detailed roadmap.
- No. In an effort to minimize the scope of
-
"Is this scalable? How would you cover the token cost of a user's requests to OpenAI API?"
- That's a great question. I'm planning to implement OAuth and rate-limiting to limit the overhead costs.
- Another option is to require users to build
Whispr
locally and use their own secret keys.
-
"The Usage and Configuration instructions are unclear for developers who want to contribute."
- All of the build instructions are still work-in-progress. I will be updating them as I build out
Whispr
.
- All of the build instructions are still work-in-progress. I will be updating them as I build out