Skip to content

Commit

Permalink
not jank.
Browse files Browse the repository at this point in the history
  • Loading branch information
BowsiePup committed Dec 23, 2023
1 parent 21a6a44 commit 290999d
Show file tree
Hide file tree
Showing 10 changed files with 1,072 additions and 91 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/push_main_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Test

on:
push:
branches: [ main ]

jobs:
build:
runs-on: self-hosted

steps:
- uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.5.1'

- name: Install dependencies
run: npm ci --include=dev

- name: Build
run: npm run build
30 changes: 30 additions & 0 deletions .github/workflows/push_prod_publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Publish NPM Package

on:
push:
branches:
- prod

jobs:
build:
runs-on: self-hosted

steps:
- uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
run: npm ci

- name: Build
run: npm run build

- name: Publish
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Tabby Web Authentication Handler

This is a plugin for the [Tabby Terminal](https://github.com/Eugeny/tabby), a terminal emulator and SSH client. The plugin provides a web authentication handler for Tabby.

## Features

When a web authentication is requested by the server, this plugin opens a native browser window to handle the authentication process. This provides a seamless user experience, allowing users to authenticate with web services directly from the terminal.

## Installation

To install this plugin, follow the instructions in the [Tabby documentation](https://tabby.sh/docs/config.html) for installing plugins.

## Usage

Once installed, the plugin will automatically handle web authentication requests from the server.

## Configuration

An open browser button is provided in the config to allow users to open a browser window manually. Useful to setup SSO login sessions.

## Contributing

Contributions are welcome! Please feel free to submit a pull request.

## License

This project is licensed under the ISC license.
Loading

0 comments on commit 290999d

Please sign in to comment.