Giter Site home page Giter Site logo

git-tracker's Introduction

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

git-tracker's People

Contributors

jess182 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.