New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@internalstack/server

Package Overview
Dependencies
Maintainers
0
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@internalstack/server

A server for running InternalStack apps and tools on your own infrastructure. Connects to the InternalStack cloud for rendering, permissions, and user authentication. Create your free account at https://internalstack.com.

Source
npmnpm
Version
1.0.16
Version published
Weekly downloads
15
650%
Maintainers
0
Weekly downloads
 
Created
Source

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

  • Install PM2

    npm install pm2 -g
    
  • 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

FAQs

Package last updated on 29 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts