Telosys doc
WebsiteTwitterLinkedInNews
  • Telosys documentation
  • Telosys CLI
    • Installation on Linux
    • Installation on Windows
    • CLI configuration
    • CLI commands
    • Getting started
  • Telosys with VSCode
    • Extension installation
    • VSCode settings
    • Telosys terminal in VSCode
    • Telosys editor configuration
  • Telosys with JetBrains IDE
  • Project configuration
  • Project variables
  • Project databases
  • Models and entities
    • Model structure
    • Entity
    • Attribute / Link
    • Annotations
    • Tags
    • Examples
    • Model creation
    • Model installation
    • Models management
  • Bundles of templates
    • Bundle structure
    • Bundle creation
    • Bundles installation
    • Bundles management
    • Velocity language
    • Velocity directives
    • Velocity object types
    • Telosys directives
    • Telosys variables
    • Telosys objects
    • Code snippets
  • Code generation
    • "gen" command
    • "genb" command
  • Target languages
    • C++
    • C#
    • Golang
    • Java
    • JavaScript
    • Kotlin
    • PHP
    • Python
    • Scala
    • TypeScript
  • Target databases (SQL)
    • Predefined rules
    • Specific rules
    • Type size and precision
  • Telosys with Git
    • GitHub usage
    • Install with Git
    • Publish with Git
  • Support the project
  • How to contribute
  • Sponsors
  • IDE and editors
  • Telosys 3 Eclipse plugin
    • Eclipse plugin installation
    • Eclipse customization
    • Telosys 3 database model
Powered by GitBook
On this page
  • GitHub depot configuration
  • GitHub Personal Access Token
  1. Telosys with Git

GitHub usage

PreviousTelosys with GitNextInstall with Git

Last updated 4 months ago

GitHub depot configuration

It's possible to define 3 types of depot:

  • a GitHub organization: github_org + ": " + organization-name

  • a GitHub user: github_user + " :" + user-name

  • the GitHub current user (authenticated by the current personal acces token): github_current_user

To define your own depots on GitHub see "".

GitHub Personal Access Token

Telosys uses the GitHub REST API ( ) to get the models and bundles available for installation.

This API has “rate limits” which can be reached quite quickly if several users share the same external IP address (which is usually the case with a corporate proxy).

To get around this limitation, you can use a "GitHub Personal Access Token" (PAT).

With a "Personal Acces Token" the limit increased from 50 to 5000 requests for each user with a token.

Since version 4.2.0 you can use the command "ght" ("GitHub Token") to define (or remove) a "Personal Acces Token" that Telosys will use to call the GitHub API.

Using a Personal Access Token can also give you access to private repositories (depending on your rights).

Step 1 - Define your Personal Acces Token in GitHub

Creating a personal access token (classic) is sufficient.

Copy the token so that you can use it with Telosys later.

Step 2 - Use your Personal Acces Token with Telosys

Once you have your token, you can use the “ght” command to store it on your workstation. The token is encrypted and stored locally, so it can be used for all Telosys projects on a workstation.

  • Check if the token is defined : ght

  • Define a token: ght -set ⇒ Copy/Paste your token

  • Remove the token: ght -none

See GitHub documentation : ""

Project configuration
https://docs.github.com/en/rest
Managing your personal access tokens