Giter Site home page Giter Site logo

fbi's Introduction

FBI

FBI is something halfway to a package manager. It allows the user to install programs from different sources and update them.

But why?

I like to try out a lot of software. Sometimes, this software is so novel or obscure that it can not be found even on the AUR. In these cases, I usually clone the source code and compile the program myself.

As a consequence, the number of git repositories (and sometimes code from other places) begin to stockpile on my disk, making maintenance somewhat difficult. This can be somewhat mitigates by a simple shell script like this one I wrote myself, but without storing information on how to build/compile these programs, this only goes so far.

FBI tries to solve this problem by not only fetching the source code, but also by calling make (and in the future, other build programs). This should make maintenance easier.

What about the name?

Fetch, Build and Install!

Security considerations

If you use this, be aware of what you install, from which sources!!!

Dependencies

Hard dependencies:

  • Libc
  • Linux (untested for other OSs)

Dependencies which are, in theory, optional, but recommended:

  • curl
  • git
  • make

Build Dependencies

  • A C Compiler

Build

Make sure to fetch the git submodules. Do this with git submodule update --init --remote.

Type make. To install, type sudo make install. It is recommended to set the FBI_WORKPLACE environment variable.

Usage

fbi [OPTIONS] <url>
# where OPTIONS includes the following:
#
# FETCH OPTIONS:
[|-git|-hg|-f 'custom command']
#
# BUILD OPTIONS:
[|-go|-haredo|-make|-vlang|-b 'custom command']
#
# INSTALL OPTIONS:
[|-cd-install|-go-install|-haredo-install|-make-install|-i 'custom command']

# alternatively, to update, this:
fbi update

fbi's People

Contributors

nmke-de avatar

Watchers

 avatar

fbi's Issues

Linking against musl

fbi can be linked against musl, but will not execute correctly.
Tested on Alpine Linux Edge and on Artix Linux with musl-gcc -static.

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.