All Projects → filhodanuvem → Gitql

filhodanuvem / Gitql

Licence: mit
💊 A git query language

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to Gitql

Ohai
Ohai profiles your system and emits JSON
Stars: ✭ 641 (-89.05%)
Mutual labels:  hacktoberfest
Osem
Open Source Event Manager. An event management tool tailored to Free and Open Source Software conferences.
Stars: ✭ 649 (-88.91%)
Mutual labels:  hacktoberfest
Lambdacd
a library to define a continuous delivery pipeline in code
Stars: ✭ 655 (-88.81%)
Mutual labels:  hacktoberfest
Wowchemy Hugo Modules
🔥 Hugo website builder, Hugo themes & Hugo CMS. No code, build with widgets! 创建在线课程,学术简历或初创网站。
Stars: ✭ 6,093 (+4.08%)
Mutual labels:  hacktoberfest
Enclosure Picroft
Mycroft interface for Raspberry Pi environment
Stars: ✭ 649 (-88.91%)
Mutual labels:  hacktoberfest
Kotlin Language Server
Intelligent Kotlin support for any editor/IDE using the Language Server Protocol
Stars: ✭ 650 (-88.9%)
Mutual labels:  hacktoberfest
Useeffectreducer
useReducer + useEffect = useEffectReducer
Stars: ✭ 642 (-89.03%)
Mutual labels:  hacktoberfest
Clean Code Persian
ترجمه گروهی کتاب کدتمیز
Stars: ✭ 659 (-88.74%)
Mutual labels:  hacktoberfest
Sulu
Core framework that implements the functionality of the Sulu content management system
Stars: ✭ 645 (-88.98%)
Mutual labels:  hacktoberfest
Supervised Installer
Installer for a generic Linux system
Stars: ✭ 649 (-88.91%)
Mutual labels:  hacktoberfest
Prometheus Operator
Prometheus Operator creates/configures/manages Prometheus clusters atop Kubernetes
Stars: ✭ 6,451 (+10.2%)
Mutual labels:  hacktoberfest
Gitextensions
Git Extensions is a standalone UI tool for managing git repositories. It also integrates with Windows Explorer and Microsoft Visual Studio (2015/2017/2019).
Stars: ✭ 6,008 (+2.63%)
Mutual labels:  hacktoberfest
Docs
CakePHP CookBook
Stars: ✭ 653 (-88.85%)
Mutual labels:  hacktoberfest
About Swiftui
Gathering all info published, both by Apple and by others, about new framework SwiftUI.
Stars: ✭ 5,954 (+1.71%)
Mutual labels:  hacktoberfest
Vis Timeline
📈 Create a fully customizable, interactive timelines and 2d-graphs with items and ranges.
Stars: ✭ 654 (-88.83%)
Mutual labels:  hacktoberfest
Puppetboard
Web frontend for PuppetDB
Stars: ✭ 643 (-89.02%)
Mutual labels:  hacktoberfest
Pyjanitor
Clean APIs for data cleaning. Python implementation of R package Janitor
Stars: ✭ 647 (-88.95%)
Mutual labels:  hacktoberfest
Concourse
Concourse is a container-based continuous thing-doer written in Go.
Stars: ✭ 6,070 (+3.69%)
Mutual labels:  hacktoberfest
Calamares
Distribution-independent installer framework
Stars: ✭ 654 (-88.83%)
Mutual labels:  hacktoberfest
Filterlists
🛡 The independent, comprehensive directory of filter and host lists for advertisements, trackers, malware, and annoyances.
Stars: ✭ 653 (-88.85%)
Mutual labels:  hacktoberfest

Gitql Go Report Card Open Source Helpers License MIT

Gitql is a Git query language.

In a repository path...

how to use

See more here

Reading the code

⚠️ Gitql is my first golang project. If you are a beginner looking for using the project as a guideline (how to organise or make an idiomatic go code), I recommend you polyglot instead.

Requirements

  • Go 1.16+

How to install

You can access the releases page and just grab the binary. If you want to compile itself just run go build ..

Examples

gitql "your query"
or
git ql "your query"

As an example, this is the commits table:

commits
author
author_email
committer
committer_email
hash
date
message
full_message

(see more tables here)

Example Commands

  • select hash, author, message from commits limit 3
  • select hash, message from commits where 'hell' in full_message or 'Fuck' in full_message
  • select hash, message, author_email from commits where author = 'cloudson'
  • select date, message from commits where date < '2014-04-10'
  • select message from commits where 'hell' in message order by date asc
  • select distinct author from commits where date < '2020-01-01'

Questions?

gitql or open an issue

Notes:

  • Gitql doesn't want to kill git log - it was created just for science! 😅
  • It's read-only - no deleting, inserting, or updating tables or commits. 😝
  • The default limit is 10 rows.
  • It's inspired by textql.
  • Gitql is a compiler/interpreter instead of just read a sqlite database with all commits, tags, etc. because we would need to sync the tables every time before run sql and we would have sqlite bases for each repository. 😐
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].