All Projects β†’ TB-blog β†’ Tb Cli

TB-blog / Tb Cli

Licence: mit
πŸ› οΈ CLI for rapid TB generate

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Tb Cli

Diskus
A minimal, fast alternative to 'du -sh'
Stars: ✭ 674 (+8325%)
Mutual labels:  cli, tool
Awesome bot
βœ… Validate links in awesome projects
Stars: ✭ 697 (+8612.5%)
Mutual labels:  cli, tool
Legit
Git for Humans, Inspired by GitHub for Macβ„’.
Stars: ✭ 5,682 (+70925%)
Mutual labels:  cli, tool
Npkill
List any node_modules directories in your system, as well as the space they take up. You can then select which ones you want to erase to free up space.
Stars: ✭ 5,325 (+66462.5%)
Mutual labels:  cli, tool
Dotnet Ignore
.NET CLI tool that can download .gitignore file from gitignore repository
Stars: ✭ 18 (+125%)
Mutual labels:  cli, tool
Org Formation Cli
Better than landingzones!
Stars: ✭ 471 (+5787.5%)
Mutual labels:  cli, tool
Bat
A cat(1) clone with wings.
Stars: ✭ 30,833 (+385312.5%)
Mutual labels:  cli, tool
Release It
πŸš€ Automate versioning and package publishing
Stars: ✭ 4,773 (+59562.5%)
Mutual labels:  cli, tool
Pixterm
Draw images in your ANSI terminal with true color
Stars: ✭ 782 (+9675%)
Mutual labels:  cli, tool
Np
A better `npm publish`
Stars: ✭ 6,401 (+79912.5%)
Mutual labels:  cli, npm-package
Npm Run All
A CLI tool to run multiple npm-scripts in parallel or sequential.
Stars: ✭ 4,496 (+56100%)
Mutual labels:  cli, npm-package
Github Spray
Draw on your GitHub contribution graph β–‘β–’β–“β–ˆ
Stars: ✭ 908 (+11250%)
Mutual labels:  cli, npm-package
Jtc
JSON processing utility
Stars: ✭ 425 (+5212.5%)
Mutual labels:  cli, tool
Ferret
Declarative web scraping
Stars: ✭ 4,837 (+60362.5%)
Mutual labels:  cli, tool
Phpinsights
πŸ”° Instant PHP quality checks from your console
Stars: ✭ 4,442 (+55425%)
Mutual labels:  cli, tool
Mevn Cli
Light speed setup for MEVN(Mongo Express Vue Node) Apps
Stars: ✭ 696 (+8600%)
Mutual labels:  cli, npm-package
Jql
A JSON Query Language CLI tool
Stars: ✭ 368 (+4500%)
Mutual labels:  cli, tool
Cpx
A cli tool to watch and copy file globs.
Stars: ✭ 394 (+4825%)
Mutual labels:  cli, npm-package
Hover
Hover helps developers to release Flutter applications on desktop.
Stars: ✭ 698 (+8625%)
Mutual labels:  cli, tool
Git2json
Simple tool to get a JSON from your git log.
Stars: ✭ 18 (+125%)
Mutual labels:  cli, tool

TB-CLI npm package Build Status codecov

NPM

A simple CLI for scaffolding TB.

Prerequisites

  • Operating System: Linux, OS X or Windows.
  • Node.js Runtime: 8.x or newer; it is recommended that you use LTS Releases.

Language

δΈ­ζ–‡

Links

Install & Usage

Install

npm install tb-cli -g

Usage

  Usage: tb <command> [options]

  Options:

    -V, --version  output the version number
    -h, --help     output usage information

  Commands:

    init           generate a new project from TB template
    theme          list available official themes
    help [cmd]     display help for [cmd]

Start

// config details please see following docs
tb init [project-name]
cd [project-name]
npm install // or if using yarn: yarn

Then open your browser and visit http://127.0.0.1:2333.

Config details

TB is based on Github API and Github issues. Before your starting, please create a new respository and add some issues for your blog articles, default respository name is blog, of course you can set your own.

If you only have empty respository and don't have issues yet, after generating TB, you will have an entry to create issues.

Token

The first step is to generate your token, which is for Github API request validation, and please check following options:

  • [x] repo
    • [x] repo:status
    • [x] repo_deployment
    • [x] public_repo
  • [x] user
    • [x] read:user
    • [x] user:email

And add the token description and click Generate token to get your token.

Deploying

If you are already connected to your server, you can build & run TB in your server simply, but before deploying please make sure you already have node and git :

  • Global install TB-CLI.

    npm install tb-cli -g
    
  • Go to the target root folder.

  • Generate TB like using it in your local environment:

    tb init [project-name]
    
  • Go to your project folder:

    cd [project-name]
    npm install --production // if using yarn: yarn install --production
    
  • Start deploying(using pm2):

    pm2 start npm --name 'project-name' -- start
    

Then TB is listen to port 2333 in your server with pm2.

Themes

you can run tb theme to check official themes.

Contributing

Welcome to contribute by creating issues or sending pull requests. See Contributing Guide for guidelines.

License

MIT

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].