Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/theodorosploumis/faaast
Packager as a Service
https://github.com/theodorosploumis/faaast
composer docker downloader gem greece npm package-manager saas yarn
Last synced: 10 days ago
JSON representation
Packager as a Service
- Host: GitHub
- URL: https://github.com/theodorosploumis/faaast
- Owner: theodorosploumis
- License: mit
- Created: 2017-10-30T11:48:51.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-02-16T08:54:59.000Z (10 months ago)
- Last Synced: 2024-07-30T19:48:29.098Z (5 months ago)
- Topics: composer, docker, downloader, gem, greece, npm, package-manager, saas, yarn
- Language: PHP
- Homepage: https://faaast.download/
- Size: 118 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Faaast
## About
A package manager as a service (SaaS).
Or a package software with **npm, pnpm, yarn, ied, gem, composer, bundler, drush, pip etc** using Docker.
## Why
- Because sometimes there unknown errors with package managers.
- Because WiFi issues may corrupt packaging.
- Because sometimes you don't want to spend time for packaging.
- Because not every machine can use packages.
- Because Docker can do this!## Usage
### Online UI
Try online at [faaast.download](https://faaast.download/?utm_source=github&utm_medium=browser&utm_campaign=github_repo).### Docker image
If you want to use the docker image ([tplcom/faaast](https://hub.docker.com/r/tplcom/faaast)) on
your own:```bash
// Let's assume you want to run "npm install visionmedia/express"
// This will get the "node_packages" under current path "home" folder
docker run -it --rm -w /home -v $(pwd)/home:/home tplcom/faaast npm install visionmedia/express```
### API
You can get the packaged (tar.gz or zip) files using wget, curl and python as simple as calling the
simple HTTP api.```bash
wget $(curl -s "https://faaast.download/faaast.php?cmd=[MY_COMMAND]&id=[RANDOM_20_LETTERS]&compress=tar.gz&api=true" | python -c 'import json,sys;obj=json.load(sys.stdin);print obj["'file'"]';)# Example
wget $(curl -s "https://faaast.download/faaast.php?cmd=npm+install+webpack&id=ddddddddddeeeeeeeeee&api=1" | python -c 'import json,sys;obj=json.load(sys.stdin);print obj["'file'"]';)
```
### CLI tool
Install the **faaast** command locally to get the packaged files from your command line.
```bash
wget -q https://raw.githubusercontent.com/theodorosploumis/faaast/master/scripts/faaast && \
chmod +x faaast && \
mv faaast /usr/local/bin/faaast```
Then run "faaast" command like this:
```bash
faaast "npm install react"
```## Software per docker image
- See releases: https://github.com/theodorosploumis/faaast/releases## ToDo
- See this issue: [ToDo](https://github.com/theodorosploumis/faaast/issues/1).## License
[![license](https://img.shields.io/github/license/theodorosploumis/faaast.svg)](LICENSE)