kfs_repo3

2nd try at mcanouil teamplate

https://github.com/kfs1966/kfs_repo3

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.9%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

2nd try at mcanouil teamplate

Basic Info
  • Host: GitHub
  • Owner: kfs1966
  • License: mit
  • Language: HTML
  • Default Branch: main
  • Size: 1.57 MB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created 7 months ago · Last pushed 7 months ago
Metadata Files
Readme Funding License Citation

README.md

Quarto Codespaces

Dev Container Docker Image Build

Setup to deploy GitHub Codespaces (Codespaces) or Development Containers (Dev Containers) with Quarto.

Overview

This repository provides a setup to deploy Codespaces or Dev Containers with Quarto, supporting R, Python, and Julia environments. It includes configuration files and scripts to initialise and manage these environments.

Using ghcr.io/mcanouil/quarto-codespaces:latest as a base image for a quick deployment (Ubuntu 22.04 - Jammy Jellyfish):
Open in GitHub Codespaces

Using Codespaces default base image (ghcr.io/mcanouil/quarto-codespaces:release-universal) to mitigate GitHub storage usage (Ubuntu 20.04 - Focal Fossa):
Open in GitHub Codespaces

Using as a Template

You can use this repository as a template for your own projects. To do so, click the "Use this template" button on the GitHub repository page. This will create a new repository with the same files and structure.

Using with Codespaces

This repository is configured to work with GitHub Codespaces. To use it, follow these steps:

  1. Open the repository on GitHub.
  2. Click the "Code" button and select "Open with Codespaces".
  3. If you don't have a Codespace already, create a new one.
  4. The Codespace will be set up automatically using the configuration provided in this repository.

Dev Container Configuration

The Dev Container configuration is located in .github/.devcontainer/devcontainer.json. This file defines the development container settings, including the base image, user settings, and features to be installed.

Key Features

  • Base Image: The container uses the buildpack-deps:jammy-curl image as the base.
  • Remote User: The default user is set to vscode.
  • Installed Features:
    • Common utilities with Zsh shell.
    • Git for version control.
    • R with renv support and rmarkdown.
    • Python with shared libraries, jupyter and uv.
    • Julia with the latest release channel and IJulia.
    • TinyTeX for LaTeX support.
    • Decktape for PDF generation from HTML presentations.
    • Quarto CLI for scientific and technical publishing.

Docker Image

The Dev Container configuration is used to build a Docker image that is available for use. You can pull the latest image (using Quarto stable release) using the following command:

sh docker pull ghcr.io/mcanouil/quarto-codespaces:latest

Available tags: ghcr.io/mcanouil/quarto-codespaces

Initialisation Script

The initialisation script init.sh is used to set up the R, Python, and Julia environments. It supports initialising all environments or specific ones based on the provided options.

Usage

sh ./init-env.sh [--what/-w all|r|python|julia] [--force/-f] [--help/-h]

Script Details

  • Options:
    • --what/-w: Specify which environment(s) to initialise (all, r, python (uv), julia).
    • --force/-f: Force reinstallation of the specified environment(s).
    • --help/-h: Display help message and exit.
  • Functionality: The script installs necessary dependencies for R, Python, and Julia, inside environments.
    • For R, it sets up renv and installs required packages.
    • For Python, it sets up uv and installs required libraries.
    • For Julia, it sets up an environment and installs required packages.

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.

License

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

Owner

  • Login: kfs1966
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this project, please cite it as below."
title: "Quarto Codespaces"
authors:
  - family-names: "Canouil"
    given-names: "Mickaël"
    orcid: "https://orcid.org/0000-0002-3396-4549"
date-released: "2025-06-30"
version: 2025.06.30
url: "https://github.com/mcanouil/quarto-codespaces"
repository-code: "https://github.com/mcanouil/quarto-codespaces"
license: "MIT"

GitHub Events

Total
  • Push event: 2
  • Create event: 2
Last Year
  • Push event: 2
  • Create event: 2

Dependencies

.github/workflows/bump-version.yml actions
  • actions/checkout v4 composite
  • actions/create-github-app-token v2 composite
.github/workflows/devcontainer.yml actions
  • actions/checkout v4 composite
  • actions/delete-package-versions v5 composite
  • devcontainers/ci v0.3 composite
  • docker/login-action v3 composite
  • docker/setup-buildx-action v3 composite
  • docker/setup-qemu-action v3 composite
.github/workflows/release.yml actions
  • actions/checkout v4 composite
  • actions/create-github-app-token v2 composite
.devcontainer/universal/Dockerfile docker
  • ${IMAGE} latest build
.github/.devcontainer/Dockerfile docker
  • ${IMAGE} latest build