Skip to content

Jess182/git-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git tracker

Git tracker is a module with zero external dependencies (not even Deno's standard library) that allow you to easily create a report with the activities you have done on some of the known platforms to host projects: Gitlab and Github

Requisites

  • userId:
    • Gitlab userId
    • Github username

In both cases we will treat as userId

Remember to give the correct permission to the token for the module can consult the activities

Usage

This module could use as:

  • shell command (create csv file)
  • imported module (return csv string and optionally create file)

Usage as shell command

> deno run --allow-net --allow-read --allow-write https://raw.githubusercontent.com/Jess182/git-tracker/main/mod.ts [OPTIONS]

OPTIONS

You can skip to pass all options when executing the command, the values not set will be requested through the CLI

Usage as imported module

import {
	gitTracker,
	IOptions,
} from 'https://raw.githubusercontent.com/Jess182/git-tracker/main/mod.tss';

const options: IOptions = {
	platform: 'gitlab',
	userId: '<user ID>',
	accessToken: '<access token>',
	event: 'pushed',
	createFile: true,
};

const csv = await gitTracker(options);

Options

Disclaimer

The information collected by the module (user ID | username, access token & the information consulted) is not used or saved in any way.

I am not responsible for the use that is given to the code or module

About

Deno module to create git activities report

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published