This is the Telestion Client Library Monorepo. It contains, in basic terms, a framework for building so-called Project-Specific-Clients (PSCs), which are clients for the Telestion software that perfectly fit the mission's requirements.
Telestion is an ecosystem for Ground Station software that's easy to adjust to a mission's needs without re-inventing the wheel.
This is just a very basic guide for getting started. For more in-depth guides, reference, etc., please refer to the official Telestion documentation.
To make it easy for you to develop PSCs, we provide a fully-featured CLI that, while keeping everything extensible, gives you a hand in creating new projects, generating boilerplate in the projects, running the project during development, and building the PSC, either for the web or as a native, Electron-based, app.
Before you begin, please make sure that you have the following tools installed on your system:
- NodeJS (Download), v16 or above
- pnpm (Installation instructions), v7 or above (an alternative package manager for packages in the npm registry)
With both installed, we're ready to take off 🚀:
First, let's install the Telestion Client CLI. Open a command line and enter the following command:
pnpm add --global @wuespace/telestion-client-cli
⚠ If, on UNIX-based systems (Linux or macOS), you run into permission issues when running this command, please try re-running it with
sudo
.
With the CLI installed, we can create our first PSC project. Open a command line in a folder where you'd like to create your project and run:
tc-cli init
You will then be asked one or more questions (like the project title). When everything's answered, the CLI will initialize a full PSC project for you, so ... sit back, relax, and enjoy the flight 😉.
Oh! We're already on final approach, and now ... the command is finished. You will find that the CLI generated a PSC project into a folder matching the title you've given the project.
You can now enter that folder and run the PSC by running:
pnpm start
Houston, Tranquility Base here, the Eagle has landed! You should, now, see a flashy PSC open in a new window.
This might all seem a bit overwhelming, at first, but don't worry: We've got you covered and try to provide all the documentation and help you need to get going.
To learn about how to develop the PSC, please take a look at the client development documentation, which contains guides, explanations of concepts, and reference for everything surrounding the topic.
For the always-up-to-date API reference for all the npm packages of this repository, please have a look at our Online API Reference, powered by fliegdoc. As Telestion is meant to be extensible, documentation is a high priority. Therefore, we have a high standard for the API Reference, as well, with every exposed API being fully documented with Doc Comments, including an example for every function, and so on.
Last, but not least, you should also consider taking a look at some of our already existing PSCs:
The overall file structure of this monorepo looks like this:
.
├── .github
│ ├── workflows (CI configuration)
├── base-configs (configurations around the repo)
│ ├── eslint.base.js
│ └── [...]
├── packages (npm packages within this repo)
│ ├── telestion-client-cli
│ ├── [...]
├── .fliegdocrc.js (Fliegdoc configuration for generating doc pages)
├── CHANGELOG.md (DON'T TOUCH! Automatically generated Changelog)
├── README.md (you're here :P)
└── [...]
Many folders, such as the individual packages in ./packages
, etc.,
contain their own README.md
that documents their inner structure.
@wuespace/parcel-optimizer-electron-require
- A Parcel optimizer that allows you to userequire
in your Electron apppreload
scripts.@wuespace/parcel-reporter-tc-cli
- A Parcel reporter that provides a nice CLI output for the Telestion Client CLI.@wuespace/parcel-resolver-react
- A Parcel resolver that allows you to usereact
imports in your PSC without fear of "duplicate" React instances.@wuespace/telestion-client-cli
contains the CLI for developing PSCs.@wuespace/telestion-client-core
contains the core components of the Telestion Client that are essential for developing a Telestion frontend.@wuespace/telestion-client-common
contains more common components that not necessary for a working frontend project but are highly recommended by the Telestion development team.@wuespace/telestion-client-prop-types
contains common PropTypes for the telestion-client ecosystem.@wuespace/telestion-client-template
contains the template structure for a future Telestion Client project.@wuespace/telestion-client-types
contains TypeScript definitions for common telestion-client types, used in different packages.@wuespace/vertx-event-bus
contains a client for the VertX EventBus, including full TypeScript support.@wuespace/vertx-mock-server
contains a mock server that simulates a connection with the Telestion backend only for testing purposes.
For the documentation on contributing to this repository, please take a look at the Contributing Guidelines.
Thank you to all contributors of this repository:
Made with contributors-img.
This is part of Telestion, a project by WüSpace e.V..