Batteries-included template for dev environments on Firebase Studio (previously Project IDX). Includes languages, tools and VS Code extensions the team is using across projects, so you can focus on building and shipping within the dev environment.
You can get started quickly for any project with batteries included by pressing the button below.
| Git forge | Button/Link |
|---|---|
| GitLab.com / GitLab SaaS (canonical) | |
| GitHub (mirror) |
Once you are landed on the editor, you can hack around and work on your projects
as usual. If you need to pass secrets or customize your environment further,
create a .idx/dev.local.nix file and use the following example below as a starter.
{ lib, ... }: {
env = {
# Doppler stuff
DOPPLER_TOKEN = "dp.ct....";
# GitHub
GITHUB_TOKEN = "ghp_...";
# GitLab CLI specifics
REMOTE_ALIAS = "lab";
GL_HOST = "https://gitlab.com";
GITLAB_TOKEN = "glpat-...";
};
}Copy .idx/dev.template.nix to your repository as .idx/dev.nix and tweak to your liking for your project.
MPL-2.0