Git Product home page Git Product logo

Bullgit

Mono repository for @bullgit.

GitHub license

CLI tools

This repo provides two cli tools:

  • bullgit: handles git related tasks
    • repos: gets repos from the bullgit org
      • --log: logs the result to the console
      • --write: updates the repos.json file
    • members: (n.a.)
  • gitch: handles member related tasks
    • add: adds a new gitch to the bullgiverse
    • edit: (n.a.)
    • remove: (n.a.)

Build/develop

Several tasks have been defined to build or watch files during development.

  • yarn build: builds the website (used for deployment)
  • yarn watch: watches and serves the website (https & hot)
    • all lerna packages are watched (respecting ignored)
    • SSR will not reload (requires a restart until implemented)
  • yarn cli:build: builds the cli tools
  • yarn cli:watch: watches the cli tools
  • ...

To get a list of all tasks please look at the package.json for this project.
The tasks have comment headers to explain their purpose

Build process

The build uses SSR therefore every component needs to allow to be rendered on the server.

The build result is split into chunks to optimize performance.

Status: Travis branch

Adding Packages.

To add packages you can chose between different directories.

  • config: only configuration here
  • tools: cli/build tools
  • site: Home of the website (can host several different sites)
  • packages: public npm packages (ui-components, misc npm releases under @bullgit)

Bundles

Packages are usually bundled via rollup.js. You can use any bundler you like as long as the repo follows the npm standards.

TypeScript vs. JavaScript

While the Website uses TypeScript, there are no restrictions to packages.
We recommend TypeScript for compatibility reasons but having fun is more important.

Bullgit Website

To work on the website please work inside the folder site/client/src.

All tasks should be run from the project root.

You will see a file called routes.ts which looks similar to this:

import {Home} from "./pages/home";

export interface Route {
	location: string,
	component: React.ComponentType<any>
}

export type Routes = Route[]

export const routes: Routes = [
	{
		component: Home,
		location: "/"
	}
];

You can add your page and the desired path here:

placeholders like my-page/:pageNumber are currently not supported but will be added in the future.

import {Home} from "./pages/home";
import {MyPage} from "./pages/my-page";

export interface Route {
	location: string,
	component: React.ComponentType<any>
}

export type Routes = Route[]

export const routes: Routes = [
	{
		component: Home,
		location: "/",
	},
	{
		component: MyPage,
		location: "/my-page",
	}
];

Copyright © 2018 by team Bullgit.

bullsh... bullgit's Projects

ascii-glitches icon ascii-glitches

>G̸̡͉̙̫̻̺̝͉̣̩͕͍̓͑̈̒̆̀ͅlitchr̸ - █̿̿̿̿̿̿̿̿̿█̿̿̿̿̿̿̿̿█̿̿̿̿̿̿̿█̿̿̿̿̿̿█̿̿̿̿̿█̿̿̿̿█̿̿̿█̿̿█̿█͇█͇͇█͇͇͇█͇͇͇͇█͇͇͇͇͇█͇͇͇͇͇͇█͇͇͇͇͇͇͇█͇͇͇͇͇͇͇͇█͇͇͇͇͇͇͇͇͇

australia.css icon australia.css

Accessibility is important, even if you live on the wrong side of the globe!

author.js icon author.js

Facts author or team of a project in console.

badge icon badge

A new version of the bullgit badge

blah-code-cli icon blah-code-cli

Encode and decode blah code via the command line – see https://github.com/bullgit/blah-code

bullback icon bullback

It generates an effective rear connection with eval()

bullgels icon bullgels

A script to add gitches, as angels to your website.

bulllog icon bulllog

Why bother logging ugly Messages to your console when you can also log fancy bullshit?

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.