https://github.com/artdelpi/taskpilot-gpt
Smart task manager with ChatGPT assistant, built on Rails
https://github.com/artdelpi/taskpilot-gpt
bootstrap devise gpt-integration gpt-wrapper hotwire postgresql productivity-tool project-collaboration ruby-on-rails task-tracking
Last synced: 3 months ago
JSON representation
Smart task manager with ChatGPT assistant, built on Rails
- Host: GitHub
- URL: https://github.com/artdelpi/taskpilot-gpt
- Owner: artdelpi
- License: mit
- Created: 2025-08-02T22:36:07.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-09-24T04:38:47.000Z (5 months ago)
- Last Synced: 2025-10-06T06:57:14.811Z (4 months ago)
- Topics: bootstrap, devise, gpt-integration, gpt-wrapper, hotwire, postgresql, productivity-tool, project-collaboration, ruby-on-rails, task-tracking
- Language: Ruby
- Homepage:
- Size: 7.47 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Task Pilot GPT
AI-powered project & task management, built with Ruby on Rails and OpenAI
---
## Overview
***Task Pilot GPT*** is a Ruby on Rails application I developed for managing projects and tasks with AI-assisted planning. It aims to boost productivity by providing a user-friendly interface to organize your projects, leveraging the OpenAI API to break them down into smaller tasks and automatically prioritize them.
---
## Demo
Creating a new project, adding tasks and deleting the created project.
---
User registration and login flow.
---
Main menu after login: viewing tasks, tags, profile, settings and logout options.
---
## Features
- **AI-powered task decomposition** (planned via ChatGPT API)
- **User-managed projects and tasks**
- **Multi-user collaboration** using `ProjectAssignment` (many-to-many)
- **Modular structure** for easy extension
- **Dynamic Bootstrap UI with modals**
- **Authentication with Devise**
- **BDD with RSpec + Capybara**
---
## Using the OpenAI API to Generate Initial Project Tasks
(Planned feature) When a new project is created in **TaskPilot**, the system can automatically request initial task suggestions from the [OpenAI Chat Completions API](https://platform.openai.com/docs/api-reference/chat).
### Request Example
```ruby
client = OpenAI::Client.new(access_token: ENV["OPENAI_API_KEY"])
response = client.chat(
parameters: {
model: "gpt-4o-mini",
messages: [
{
role: "system",
content: "You are a project planner that generates clear, realistic and actionable tasks for new projects."
},
{
role: "user",
content: "Generate 5 initial tasks for the project: 'Launch a personal portfolio website', including description and suggested due date."
}
],
temperature: 0.7
}
)
puts response.dig("choices", 0, "message", "content")
```
---
## Tech Stack
- **Ruby on Rails 8**
- **PostgreSQL**
- **Devise for authentication**
- **OpenAI API** (for future AI integration)
- **Bootstrap 5**
- **Docker for deployment**
---
## Development Principles
- Behavior-Driven Development (BDD)
- Modular associations using `has_many :through`
- Clean UI patterns with reusable components
- Prepared for production using Docker
---
## Database Schema
Entity-relationship diagram showing users, projects, tasks, dependencies, tags, comments and assignments.
---
## Running with Docker
```bash
docker build -t taskpilot_gpt .
docker run -d -p 80:80 \
-e RAILS_MASTER_KEY= \
--name taskpilot_gpt taskpilot_gpt