Skip to content

Devtime.nvim helps you track Language usage in neovim as well as file edit time. :wq

License

Notifications You must be signed in to change notification settings

alfredosa/devtime.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

devtime.nvim

Neovim plugin to track language usage in a local sqlite3. For those data hoarders like me, who like to analyze random stuff.

What's stored:

  • language (Based on buffers opened and closed)
  • duration
  • Timestamp (for tracking lang work)
  • Buffer Name / file name

Dependencies:

This plugin requires

-- Simple add:
{ '3rd/sqlite.nvim' }

Sqlite3

Sqlite3 is required to operate this pluggin. It will create a db in .local/share/nvim/devtime dir.

Lazy Usage:

-- Simple add:
  {
    'alfredosa/devtime.nvim',
    dependencies = {
      { '3rd/sqlite.nvim' },
    },
    config = function()
      require('devtime').setup()
    end,
  },

Development roadmap:

I plan on adding:

  • Custom configurations.
  • a local stats page (Optional Web Server)
  • Batching. The current method works fine but I think I can optimize this by batching inserts.

About

Devtime.nvim helps you track Language usage in neovim as well as file edit time. :wq

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages