Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

25 Commits

Repository files navigation

GitHub Codespace 🚀

GitHub Codespace Setup Logo

github.codespace is a project aiming to automate startup script that instantly configures your GitHub Codespace environment — no manual setup required. It helps you quickly set your timezone and Git credentials on every new session in just one command.

License: MITProject StatusHosted on GitHub Pages

Contents

Quick Start | Screenshot | Project Structure | How It Works | Deployment | License


Quick Start ⚡

To configure your Codespace environment instantly, run this single command in your terminal:

curl -sL codespace.hatixntsoa.site | bash

You’ll be prompted to enter:

  • Your timezone offset (e.g., 3 for GMT+3)
  • Your Git username
  • Your Git email

Once complete, the script will:

  • Set your system’s timezone accordingly
  • Configure your Git credentials locally within the Codespace

Screenshot 📸

Gemini Chat TUI running in terminal

Example: Script Execution inside a GitHub Codespace Terminal session.


Project Structure 📦

.
├── setup/
│ ├── git.creds.sh # Sets up Git username and email
│ ├── timezone.sh # Configures system timezone
│ └── startup.sh # Main startup script (alias: index.html)
├── CNAME # Custom domain for GitHub Pages
├── index.html # Serves bash or web content depending on context
├── LICENSE.md
└── README.md

How It Works 🔧

The startup script (index.html) performs the following actions:

  1. Fetches and runs timezone.sh

    • Applies your timezone based on offset input (e.g., Etc/GMT-3).
  2. Fetches and runs git.creds.sh

    • Configures user.name and user.email for Git locally in the Codespace.

You can view the raw script here: 👉 https://codespace.hatixntsoa.site


Deployment 🌐

This project is hosted via GitHub Pages with a custom domain.

All scripts inside the setup/ directory are public and accessible at:

https://codespace.hatixntsoa.site/setup/<script-name>

Examples:


License 🛡

This project is licensed under the MIT License. See the LICENSE.md file for details.

About

Simple setup scripts for Git config and timezone, optimized for GitHub Codespaces.

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages