sslx
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

Social Card of this repo

npm version GitHub Actions Commitizen friendly

Zero-Config & Zero-Setup HTTPS

Features

  • SSL Support (HTTPS by default)

Install

bun install -d tlsx

Alternatively, you can install:

brew install tlsx # wip
pkgx install tlsx # wip

Get Started

There are two ways of using this reverse proxy: as a library or as a CLI.

Library

Given the npm package is installed:

// wip

CLI

tlsx ...

Configuration

The Reverse Proxy can be configured using a tlsx.config.ts (or tlsx.config.js) file and it will be automatically loaded when running the tlsx command.

// tlsx.config.ts (or tlsx.config.js)
import type { TlsConfig } from './src/types'

export default {
  ssl: {
    altNameIPs: ['127.0.0.1'],
    altNameURIs: ['localhost'],
    organizationName: 'tlsx stacks.localhost',
    countryName: 'US',
    stateName: 'California',
    localityName: 'Playa Vista',
    commonName: 'stacks.localhost',
    validityDays: 1,
  },
} satisfies TlsConfig

Then run:

tlsx start

To learn more, head over to the documentation.

Testing

bun test

Changelog

Please see our releases page for more information on what has changed recently.

Contributing

Please review the Contributing Guide for details.

Community

For help, discussion about best practices, or any other conversation that would benefit from being searchable:

Discussions on GitHub

For casual chit-chat with others using this package:

Join the Stacks Discord Server

Postcardware

Two things are true: Stacks OSS will always stay open-source, and we do love to receive postcards from wherever Stacks is used! 🌍 We also publish them on our website.

Our address: Stacks.js, 5710 Crescent Park #107, Playa Vista 90094, CA.

Sponsors

We would like to extend our thanks to the following sponsors for funding Stacks development. If you are interested in becoming a sponsor, please reach out to us.

Credits

License

The MIT License (MIT). Please see LICENSE for more information.

Made with 💙

Package Sidebar

Install

npm i sslx

Weekly Downloads

3

Version

0.0.4

License

MIT

Unpacked Size

103 MB

Total Files

18

Last publish

Collaborators

  • chrisbreuer