Skip to content

aminju14/logify-ai

Repository files navigation

Logify AI - Log Book Automation

A modern, AI-powered daily log automation tool that transforms messy notes into structured reports, tracks work hours, and provides productivity insights.

Dashboard Screenshot

Features

πŸ“ AI-Powered Report Generation

  • Intelligent Content Extraction: Automatically identifies tasks, achievements, and issues from your daily notes
  • Professional Formatting: Converts unstructured text into clean, professional report format
  • Smart Summarization: Creates concise summaries for quick review
  • Auto-Classification: Classifies logs into appropriate categories

πŸ“… Calendar Integration

  • Visual Timeline: View your work logs on an interactive calendar
  • Quick Entry: Add new logs directly from calendar view
  • Daily Breakdown: See detailed logs for each day at a glance

πŸ“Š Productivity Analytics

  • Time Tracking: Monitor your work hours across different projects
  • Trend Analysis: Track progress and productivity over time
  • Visual Reports: Charts and graphs to visualize your work patterns

πŸ”§ Customization

  • Personalized Templates: Customize report format to match your style
  • AI Configuration: Adjust AI behavior for different types of notes
  • Theme Support: Light and dark mode support

Getting Started

Prerequisites

  • Node.js 20.x or higher
  • npm 10.x or higher
  • OpenAI API Key (for AI features)

Installation

  1. Clone the repository

    git clone https://github.com/yourusername/logify-ai.git
    cd logify-ai
  2. Install dependencies

    npm install
  3. Configure environment variables Create a .env.local file in the root directory:

    # AI Configuration
    OPENAI_API_KEY=your-openai-api-key-here
    
    # Optional: Set custom AI prompt
    # AI_PROMPT="You are a professional assistant. Convert these notes into a structured work report..."
  4. Run the development server

    npm run dev
  5. Open the app Navigate to http://localhost:3000 in your browser

Usage

Adding a New Log

  1. Click the "Add Log" button on the dashboard
  2. Enter your daily notes in the text area
  3. Click "Generate Report" to let AI process your notes
  4. Review the structured report and make any edits
  5. Click "Save" to store your log

Viewing Calendar

  1. Navigate to the "Calendar" tab
  2. Click on any date to view detailed logs for that day
  3. Use the calendar to plan and review your work schedule

Analyzing Insights

  1. Go to the "Insights" tab
  2. View your productivity trends and statistics
  3. Use the insights to improve your work efficiency

Available Scripts

Command Description
npm run dev Starts the development server
npm run build Builds the application for production
npm run start Runs the production build
npm run lint Runs ESLint to check code quality
npm run format Formats code with Prettier

Technology Stack

Framework

  • Next.js 14 (React framework with App Router)

AI Integration

  • OpenAI API (GPT-4o-mini for content processing)
  • Custom prompts for structured data extraction

Styling

  • Tailwind CSS (utility-first CSS framework)
  • Shadcn/UI (reusable UI components)
  • Lucide React (icon library)

State Management

  • React Context API with use-immer for immutable state updates

Data Storage

  • Local Storage (browser-based storage)
  • Future: Supabase integration planned

Project Structure

logify-ai/
β”œβ”€β”€ app/                      # Next.js App Router pages
β”‚   β”œβ”€β”€ (auth)/              # Authentication pages (future)
β”‚   β”œβ”€β”€ (dashboard)/         # Dashboard, calendar, insights
β”‚   β”œβ”€β”€ layout.tsx           # Root layout
β”‚   └── global.css           # Global styles

β”œβ”€β”€ components/              # Reusable UI components
β”‚   β”œβ”€β”€ ui/                  # Shadcn/UI components
β”‚   β”œβ”€β”€ ai/                  # AI-related components
β”‚   β”œβ”€β”€ calendar/            # Calendar components
β”‚   β”œβ”€β”€ dashboard/           # Dashboard components
β”‚   β”œβ”€β”€ layout/              # Layout components
β”‚   └── insights/            # Analytics components

β”œβ”€β”€ lib/                     # Utility functions
β”‚   β”œβ”€β”€ ai.ts                # AI integration functions
β”‚   β”œβ”€β”€ storage.ts           # Local storage utilities
β”‚   β”œβ”€β”€ prompts.ts           # AI prompt templates
β”‚   β”œβ”€β”€ utils.ts             # General utilities
β”‚   └── validation.ts        # Data validation

β”œβ”€β”€ public/                  # Static assets
β”œβ”€β”€ types/                   # TypeScript type definitions
β”œβ”€β”€ .env.local               # Environment variables
β”œβ”€β”€ next.config.js           # Next.js configuration
└── tailwind.config.ts       # Tailwind configuration

Contributing

Contributions are welcome! Here's how you can help:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Development Guidelines

  • Use TypeScript for new features
  • Follow Shadcn/UI component usage patterns
  • Keep code clean and well-documented
  • Add unit tests for new components

License

This project is licensed under the MIT License - see the LICENSE file for details.

Future Plans

  • Cloud Sync: Sync logs across devices with Supabase
  • Team Collaboration: Share reports with your team
  • Advanced Analytics: Deeper insights and productivity benchmarks
  • Email Integration: Send reports automatically
  • Mobile App: Dedicated mobile PWA experience

Acknowledgments

Contact

Project Maintainer: Aminju

Support: If you encounter any issues, please open an issue in the repository.


Made with ❀️ using Next.js and Tailwind CSS

Β© 2026 MinLabs. All rights reserved.

About

Logify AI helps you convert messy daily notes into structured, professional reports in seconds. Designed for professionals who want clarity without extra effort.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages