Coder Social home page Coder Social logo

git-bot's Introduction

git-bot's People

Contributors

dependabot[bot] avatar exilour avatar mehedi-shafi avatar mehedijoy avatar shovon668 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

git-bot's Issues

Get a line(s) from a file from a Github repo as a snippet

Description: When the bot is given a GitHub link, filter any message that is send for a github url. If found if the url point to a single file with line number download the file (only that file) and return the mentioned line(s) as a code snippet.
Example:

user: !grab https://github.com/mehedi-shafi/git-bot/blob/master/random_welcome.js 13
bot: <returns 13th line>

Discuss the mother feature here: #8

If a line number is mentioned return only the number. If requires with a different command.

Discuss this feature here.

Add some resources link to bot.

Description: Some useful git and github resources like "Pro-git" book link. Or Atlasian git practice toolkit?

Example: Come out as creative as possible.

Discuss the feature here

Specific help searching.

Description: Something like the commandline --help command. Except this is for the bot. Just keep it simple. i.e-

!help init
git-init - Create an empty Git repository or reinitialize an existing one.
Synopsis
git init [-q | --quiet] [--bare] [--template=<template_directory>]
	  [--separate-git-dir <git dir>] [--object-format=<format>]
	  [-b <branch-name> | --initial-branch=<branch-name>]
	  [--shared[=<permissions>]] [directory]

Purpose: Not to have to see the whole documentation every time.

Discuss the feature here

Get a single file from a Github repo as a snippet

Description: When the bot is given a GitHub link, filter any message that is send for a github url. If found if the url point to a single file download the file (only that file) and return the content as a code snippet.
Example:

user: hey checkout this https://github.com/mehedi-shafi/git-bot/blob/master/random_welcome.js
bot: <returns the content of the file>

Discuss the feature here

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.