1.0.21 • Published 10 months ago

@internalstack/server v1.0.21

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

InternalStack Server

License: MIT FOSSA Status FOSSA Status

Checked with Biome

InternalStack Server empowers you to build internal applications for your team using only backend TypeScript/JavaScript code. With a declarative API, streamline your development by focusing on business logic instead of things like CORS troubleshooting.

import { internalStack } from '@internalstack/server';

const server = await internalStack('live_psk_5b2d902f24a057349d9f2d1c385fef7c59');

server.statefulSession(async (io, { user }) => {
  const note = await io.input.text('Note');
  console.log(user, 'says: ', note);
  // e.g. e.ripley@internalstack.com says: Hello World!
});

InternalStack Server is free, open-source software designed to run on-premises.

🌟 Quickstart

For a fast setup, please refer to our Quickstart Guide.

📦 Installation

# Using pnpm
pnpm i @internalstack/server

# Using npm
npm i @internalstack/server

# Using bun
bun add @internalstack/server

# Using yarn
yarn add @internalstack/server

🚀 Deployment

To ensure robust operation, we recommend using a process manager like PM2, which will automatically restart your server as needed.

Steps to Deploy

  1. Install PM2

    npm install pm2 -g
  2. Start Your Application

    You can start your server with TypeScript or JavaScript:

    pm2 start server.ts
    # or
    pm2 start server.js

☁️ InternalStack Cloud

Explore our free-forever tier for smaller teams at InternalStack Cloud.

Note: InternalStack Cloud is a premium, closed-source solution offering advanced functionalities such as:

  • Single Sign-On (SSO)
  • Authorization
  • Socket proxying
  • Enhanced rendering capabilities

Sign up for a free account at InternalStack Cloud. (No credit card required!)

🕮 Open Source Longevity

Should InternalStack Cloud discontinue, all closed-source components (rendering, authorization, SSO, socket proxying) will be publicly available and re-licensed under the MIT license, ensuring ongoing accessibility and community contributions.


We take pride in making development breezy and efficient. Contributions and feedback are welcome. Let's build something amazing together! 🚀

Alternatives

Looking for a fully self-hostable solution? Maybe check out Interval!

Inspiration and credit

The developer-facing API design was heavily inspired by the landing demos on Interval

1.0.21

10 months ago

1.0.19

10 months ago

1.0.16

10 months ago

1.0.20

10 months ago

1.0.15

10 months ago

1.0.14

10 months ago

1.0.13

10 months ago

1.0.11

10 months ago

1.0.12

10 months ago

1.0.10

10 months ago

1.0.9

10 months ago

1.0.8

10 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago