CLI tool built in TypeScript that allows you to add, delete, query, and track anything you want right from your terminal.
- ✅ Add entries - Log your work, tasks, or activities with timestamps
- 🗑️ Delete entries - Remove entries you no longer need
- 🔍 Query entries - Search through your worklog with powerful filtering
- 📊 Track progress - Monitor what you've accomplished over time
- 💾 Persistent storage - All data is saved locally for offline access
- ⚡ Fast and lightweight - Built with performance in mind
- Node.js (v14 or higher)
- npm or yarn
- Clone the repository:
git clone https://github.com/naluthi/Worklog.git
cd Worklog- Install dependencies:
npm install- Build the project:
npm run build- Install globally (optional):
npm install -g .worklog add "Your task description"worklog listworklog delete <id>worklog query "search term"worklog --help# Add a work entry
worklog add "Completed project setup and installed dependencies"
# Add a task with tags
worklog add "Fixed bug in authentication module"
# List all entries from today
worklog list --today
# Search for entries containing "bug"
worklog query "bug"
# Delete an entry by ID
worklog delete 1Configuration files are stored in your home directory. The default location is ~/.worklog/ for data storage.
npm run dev- Run in development modenpm run build- Build the projectnpm test- Run testsnpm run lint- Lint the code
├── src/
│ ├── commands/ # CLI command implementations
│ ├── models/ # Data models
│ ├── utils/ # Utility functions
│ └── index.ts # Entry point
├── dist/ # Compiled output
├── tests/ # Test files
└── package.json # Dependencies and scripts
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
For issues, questions, or suggestions, please open an issue on GitHub.
- Export entries to CSV/JSON
- Cloud sync capabilities
- Web interface
- Mobile app integration
- Advanced analytics and reporting
- Custom tags and categories