open-index/open-npm huggingface dataset:
npm package: @outtacontrol/socks-domain-interceptor
Description: A route to delegate and intercept socks5 requests from socks-router with a DAT registry archive.
Author: phoenix344
Latest version: 1.0.0

# socks-domain-registry
Reads a hyperdrive archive by the given domain name. The saved domain must contain a signature and a public key for the verification.


A toplevel domain (tld) contains a configuration file called <code>tld.json</code>.

<code>./tld.json</code>
```json
{
    "name": "toplevel-domain-name",
    "domain-expire-time": 7776000000
}
```

The name is the toplevel domain name. If you have a domain <code>example</code> and your tld is <code>code</code> then you call it in the browser as <code>example.code</code>.

The domain-expire-time is the lifetime of the domain until it gets expired and must be renewed. This field is optional. If you
leave it blank or set it to null, it will be ignored.

A domain entry is not a DNS call. It's a JSON file that can contain various information about the page. Signing is using the
ed25519 curve and I'm using the sodium library.

<code>./&lt;tld-name&gt;/mydomain.json</code>
```json
{
    "sig": "... 128 byte hex string ...",
    "owner": "... 64 byte hex string ...",
    "created": 1234567890123,
    "title": "custom page title for search engines and stuff",
    "description": "custom page description",
    "tags": ["custom", "tags", "for the sake of satan of course"],
    "uri": "target URI (depends on the proxy)"
}
```
npm package: @outtacontrol/socks-router
Description: routes requests on the socks v5 server.
Author: phoenix344
Latest version: 1.0.7

# Universal Router
Easier way to add routing functionality on top of the socks5 webserver.

```javascript
const { createServer } = require("@outtacontrol/socks");

const { createRouter } = require("./lib/index");
const { blacklist } = require("./lib/validators/blacklist");
// const { whitelist } = require("./lib/validators/blacklist");

const app = createRouter();

app.use(blacklist(['example1.com', 'example2.com:80']));
// app.use(whitelist(['example1.com', 'example2.com:80']));

// app.use({
//     uri: {hostname: "...", port: "8080"},
//
//     async initialize() {
//         // ... some initialization code (only executed once before an action takes place on the route)
//     },
//     async validate(info) {
//         // // no return or empty return is just continuing the loop
//         // return true; // executes the interception method
//         // return false; // denies access
//     },
//     asnyc intercept(info, socket) {
//         // do something with the socket...
//     }
// });

const server = createServer({ auths: [auth.None()] }, app.getHandler());
server.listen(1080, "localhost", () => {
    console.log("socks5 router is listening on port 1080");
});
```
npm package: @outwalk/create-firefly
Description: Firefly - a modern scalable web framework.
Author: Outwalk Studios
Latest version: 0.15.0

# @outwalk/create-firefly

A scaffolding tool for creating Firefly projects.

![Actions](https://github.com/OutwalkStudios/firefly/workflows/build/badge.svg)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/OutwalkStudios/firefly/blob/main/LICENSE)
[![Follow Us](https://img.shields.io/badge/follow-on%20twitter-4AA1EC.svg)](https://twitter.com/OutwalkStudios)

---

## Usage

Create a Firefly project by running the following command and then follow the prompts.

```
npm create @outwalk/firefly@latest
```

You can also specify settings via command line options.

```
npm create @outwalk/firefly@latest my-app -- --language typescript
```

### Command Line Options.

The first argument passed to the command will be used as the project name/directory, Other settings can be configured using the following command line options:

NOTE: Command line options are only applied if used after an additional `--` marker.

```
# Specify the language
-l, --language

# Specify the platform
-p, --platform

# Prevent automatic dependency installation
--skip-install

# Prevent initilizing a new git repository
--skip-git

# Ignore any warnings (dangerous)
--force
```
---

## Reporting Issues

If you are having trouble getting something to work with Firefly or run into any problems, you can create a new [issue](https://github.com/OutwalkStudios/firefly/issues).

---

## License

Firefly is licensed under the terms of the [**MIT**](https://github.com/OutwalkStudios/firefly/blob/main/LICENSE) license.
npm package: @outwalk/habitat
Description: Habitat — a modern environment orchestration tool.
Author: Outwalk Studios
Latest version: 0.1.0

# Outwalk Habitat

![build](https://github.com/OutwalkStudios/habitat/workflows/build/badge.svg)
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/OutwalkStudios/habitat/blob/main/LICENSE)
[![twitter](https://img.shields.io/badge/follow-on%20twitter-4AA1EC.svg)](https://twitter.com/OutwalkStudios)

Habitat is a modern environment orchestration tool built on top of Docker and Docker Compose.
Habitat provides a clean abstraction over Docker enabling you to quickly initialize and deploy production applications without worrying about writing and optimizing dockerfiles.

---

## Getting Started

### Initilize a Habitat project.

You can initialize a new project by running the following command. This installs habitat in your project and generates a dockerfile for each project found in the workspace, a docker-compose.yml and a docker-compose.dev.yml are also created for adding services and running the application in development mode. Once the local copy of habitat is installed, you may use the cli via the `habitat` command.

```
npx @outwalk/habitat init
```

### Build and Run the Application

Habitat provides commands to build and run your application for development and production.
The build and start commands both accept a `--dev` flag.

```
# build the application for production
npx habitat build

# start the application for production
npx habitat start

# start the application for development
npx habitat start --dev
```

For more information on commands, run `npx habitat --help`.

---

## Reporting Issues

If you are having trouble getting something to work with Habitat or run into any problems, you can create a new [issue](https://github.com/OutwalkStudios/habitat/issues).

---

## License

Habitat is licensed under the terms of the [**MIT**](https://github.com/OutwalkStudios/habitat/blob/main/LICENSE) license.