2023-01-27 02:34:46 +00:00
< img src = "https://user-images.githubusercontent.com/72509152/213873342-7638e830-8a95-4b5d-ad3e-5a9a0b4bf538.png" alt = "drawing" width = "300" / >
2022-08-13 07:29:26 +00:00
2023-02-28 14:22:49 +00:00
### A smart connection manager and remote file explorer
2022-03-09 21:51:04 +00:00
2023-03-28 16:58:23 +00:00
X-Pipe is a brand-new type of connection manager and remote file explorer that works by exclusively interacting with CLI tools on local and remote shell connections.
2023-03-28 11:43:55 +00:00
This approach makes it much more flexible as it doesn't have to deal with file system APIs or remote file handling protocols at all.
X-Pipe integrates with your existing tools and workflows
2023-03-28 16:58:23 +00:00
by outsourcing as many tasks as possible to your
2023-02-10 17:40:03 +00:00
text/code editors, terminals, shells, command-line tools and more.
2023-04-10 15:47:17 +00:00
The platform is designed to be extensible, allowing anyone
to implement custom functionality through extensions.
2023-01-27 02:34:46 +00:00
2023-03-28 11:43:55 +00:00
## Getting Started
2023-03-31 13:43:13 +00:00
Head over to the [releases page ](https://github.com/xpipe-io/xpipe/releases/latest ) and try it out.
2023-03-28 11:43:55 +00:00
## Features
2023-03-28 11:56:11 +00:00
### Remote file explorer
2023-01-27 02:34:46 +00:00
2023-03-28 11:56:11 +00:00
- Access files on any remote system
- Quickly open a terminal into any directory
- Run commands from the explorer interface
- Utilize your favourite local programs to open and edit remote files
2023-01-27 02:34:46 +00:00
2023-04-05 13:58:16 +00:00
< img src = "https://user-images.githubusercontent.com/72509152/230100929-4476f76c-ea81-43d9-ac4a-b3b02df2334e.png" alt = "drawing" height = "450" / >
2023-01-27 02:34:46 +00:00
2023-04-10 15:47:17 +00:00
### Flexible remote connector
- Can connect to standard servers, database servers, and more
- Supports established protocols like SSH and more
- Also works on non-protocol-based shell connections like docker, WSL, LXD, and more plus any custom connection methods that work through the command-line
- Is able to integrate all kinds of proxies into the connection process
2023-03-28 11:43:55 +00:00
### Manage all your connections in one place
2023-01-27 02:34:46 +00:00
2023-02-03 11:10:08 +00:00
- Easily create and manage all kinds of remote connections at one location
2023-04-10 15:47:17 +00:00
- Securely stores all information exclusively on your computer and encrypts all secret information. See the [security page ](/SECURITY.md ) for more info
- Create desktop shortcuts to automatically open your connections in your terminal
2023-01-27 02:34:46 +00:00
2023-04-05 13:58:16 +00:00
< img src = "https://user-images.githubusercontent.com/72509152/230098966-000596ca-8167-4cb8-8ada-f6b3a7d482e2.png" alt = "drawing" height = "450" / >
2023-01-27 02:34:46 +00:00
2023-03-28 11:56:11 +00:00
### Instant launch for remote shells and commands
- Automatically login into a shell in your favourite terminal with one click (no need to fill password prompts, etc.)
- Works for all kinds of shells. This includes command shells (e.g. bash, PowerShell, cmd, etc.) and database shells (e.g. PostgreSQL Shell)
- Comes with integrations for all commonly used terminals for all operating systems
- Allows you to customize the launched shell's init environment
2023-04-10 15:47:17 +00:00
- Launches from the GUI or command-line
2023-02-27 05:38:36 +00:00
2023-04-03 15:41:31 +00:00
## Community
There are several ways to reach out in case you encounter any issues or questions:
- The [X-Pipe Discord Server ](https://discord.gg/8y89vS8cRb )
- The [X-Pipe Slack Server ](https://join.slack.com/t/x-pipe/shared_invite/zt-1awjq0t5j-5i4UjNJfNe1VN4b_auu6Cg )
2023-01-27 02:34:46 +00:00
## Repository Structure
The following for modules make up the X-Pipe API and a licensed under the MIT license:
- [core ](core ) - Shared core classes of the X-Pipe Java API, X-Pipe extensions, and the X-Pipe daemon implementation
- [beacon ](beacon ) - The X-Pipe beacon component is responsible for handling all communications between the X-Pipe daemon
2022-03-09 21:51:04 +00:00
and the client applications, for example the various programming language APIs and the CLI
2023-01-27 02:34:46 +00:00
The other modules make up the X-Pipe implementation and are licensed under GPL:
2023-02-20 09:49:10 +00:00
- [app ](app ) - Contains the X-Pipe daemon implementation, the X-Pipe desktop application, and an
API to create all different kinds of extensions for the X-Pipe platform
2023-01-27 02:34:46 +00:00
- [dist ](dist ) - Tools to create a distributable package of X-Pipe
2023-02-08 21:34:19 +00:00
- [ext ](ext ) - Available X-Pipe extensions. Essentially every feature is implemented as an extension
### Open source model
X-Pipe utilizes an open core model, which essentially means that
2023-02-27 05:35:16 +00:00
the main application is open source while certain other components are not.
2023-03-28 11:56:11 +00:00
Select parts are not open source yet, but may be added to this repository in the future.
2023-02-27 05:35:16 +00:00
Some tests and especially test environments and that run on private servers
2023-02-08 21:34:19 +00:00
are also not included in this repository (Don't want to leak server information).
2023-04-10 15:47:17 +00:00
Finally, scripts and workflows to create and publish installers and packages
2023-03-28 11:56:11 +00:00
are also not included to prevent attackers from easily impersonating the X-Pipe application.
2022-06-17 22:29:41 +00:00
2023-01-27 02:34:46 +00:00
## Development
2022-06-17 22:29:41 +00:00
2023-01-27 02:34:46 +00:00
Any contribution is welcomed!
There are no real formal contribution guidelines right now, they will maybe come later.
2022-06-17 22:29:41 +00:00
2023-01-27 02:34:46 +00:00
### Modularity
2022-03-09 21:51:04 +00:00
2023-01-27 02:34:46 +00:00
All X-Pipe components target [JDK 19 ](https://openjdk.java.net/projects/jdk/19/ ) and make full use of the Java Module System (JPMS).
2022-03-09 21:51:04 +00:00
All components are modularized, including all their dependencies.
In case a dependency is (sadly) not modularized yet, module information is manually added using [moditect ](https://github.com/moditect/moditect-gradle-plugin ).
2023-01-27 02:34:46 +00:00
Further, note that as this is a pretty complicated Java project that fully utilizes modularity,
many IDEs still have problems building this project properly.
For example, you can't build this project in eclipse or vscode as it will complain about missing modules.
2023-04-10 15:47:17 +00:00
The tested and recommended IDE is IntelliJ.
2023-01-27 02:34:46 +00:00
2023-02-20 09:49:10 +00:00
### Setup
You need to have an up-to-date version of X-Pipe installed on your local system in order to properly
run X-Pipe in a development environment.
This is due to the fact that some components are only included in the release version and not in this repository.
2023-04-10 15:47:17 +00:00
X-Pipe is able to automatically detect your local installation and fetch the required
2023-02-20 09:49:10 +00:00
components from it when it is run in a development environment.
2023-01-27 02:34:46 +00:00
### Building and Running
You can use the gradle wrapper to build and run the project:
- `gradlew app:run` will run the desktop application. You can set various useful properties in `app/build.gradle`
- `gradlew dist` will create a distributable production version in `dist/build/dist/base` .
2023-02-10 14:36:15 +00:00
- `gradlew <project>:test` will run the tests of the specified project.
2023-01-27 02:34:46 +00:00
You are also able to properly debug the built production application through two different methods:
- The `app/scripts/xpiped_debug` script will launch the application in debug mode and with a console attached to it
- The `app/scripts/xpiped_debug_attach` script attaches a debugger with the help of [AttachMe ](https://plugins.jetbrains.com/plugin/13263-attachme ).
Just make sure that the attachme process is running within IntelliJ, and the debugger should launch automatically once you start up the application.
Note that when any unit test is run using a debugger, the X-Pipe daemon process that is started will also attempt
to connect to that debugger through [AttachMe ](https://plugins.jetbrains.com/plugin/13263-attachme ) as well.
2023-04-10 15:47:17 +00:00
#### Why are there no GitHub actions workflows in this repository?
2023-01-29 09:49:58 +00:00
There are several test workflows run in a private environment as they use private test connections
such as remote server connections and database connections.
Other private workflows are responsible for packaging, signing, and distributing the releases.
So you can assume that the code is tested!