Skip to content

Injectly is a simple, self-hosted code injector app designed to streamline the process of managing and injecting scripts across multiple websites.

Notifications You must be signed in to change notification settings

lklynet/injectly

Repository files navigation

Injectly Logo

Injectly

Injectly is a powerful, self-hosted code injection app designed to help you manage scripts across multiple websites with ease. Dynamically update scripts for specific websites or across your entire portfolio—all from a single, intuitive dashboard.

2025-01-13


Features

  • Dynamic Script Injection: Generate one, unique script to embed on your websites.
  • Granular Control: Assign scripts to specific websites or manage global scripts.
  • Site Management: Add, edit, and delete website entries with distinct, color-coded flags for clarity.
  • Centralized Management: Add, edit, and delete scripts with real-time updates across all linked sites.
  • Self-Hosted: Total control over your data and functionality with lightweight deployment.

Getting Started

1. Clone the Repository

git clone https://github.com/lklynet/injectly.git
cd injectly

2. Install Dependencies

npm install

3. Start the Application

node server/app.js

4. Access the Application

Visit http://localhost:3000 in your web browser.


Run with Docker

You can run Injectly without building from source using Docker.

Option 1: Docker Run

mkdir -p data
docker run -d --name injectly \
  -p 3000:3000 \
  -v ./data:/data \
  lklynet/injectly:latest

Then open http://localhost:3000.

Option 2: Docker Compose

Download docker-compose.yml (or clone this repo), then:

mkdir -p data
docker compose up -d
# If your Docker uses the old plugin:
# docker-compose up -d

Data is persisted in ./data and the app listens on http://localhost:3000.


Usage

1. Add the Unique Script to Your Website:

Copy the provided script tag from the Injectly dashboard and paste it into the <head> section of your websites:

<script src="http://your-server.com/inject.js"></script>

2. Manage Wesbsites:

  • Add websites to your dashboard with easy-to-identify, color-coded flags.
  • Edit or delete websites as needed.

3. Manage Your Scripts:

  • Assign scripts to specific websites or all sites globally.
  • Changes instantly reflect across all connected websites.
  • View which websites are assigned to each script with color-coded flags for easy identification.

4. Dynamic Updates:

Any changes you make to the scripts in Injectly are automatically reflected on all websites using the embedded script.


Star History Chart

Feedback

If you encounter bugs or have suggestions, please open an issue on GitHub or contact me directly: hi@lkly.net

About

Injectly is a simple, self-hosted code injector app designed to streamline the process of managing and injecting scripts across multiple websites.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published