├── .nvmrc ├── .husky └── pre-commit ├── .dockerignore ├── vite-env.d.ts ├── .env.example ├── src ├── components │ ├── TableOfContent │ │ └── constants.ts │ ├── Label.astro │ ├── table │ │ ├── Table.astro │ │ └── TableRow.astro │ ├── Version.astro │ ├── cards │ │ ├── TitleCard.astro │ │ ├── Card.astro │ │ ├── ImageCard.astro │ │ └── CardGrid.astro │ ├── ContentPanel.astro │ ├── Sidebar.astro │ ├── Keyboard.astro │ ├── MarkdownContent.astro │ ├── TableOfContents.astro │ ├── Head.astro │ ├── EditLink.astro │ ├── ThemeProvider.astro │ ├── Hero.astro │ ├── PageSidebar.astro │ ├── Aside.astro │ ├── TwoColumnContent.astro │ ├── ZoomInfo.astro │ ├── PageTitle.astro │ ├── Footer.astro │ ├── ExploreMore.astro │ ├── Header.astro │ ├── Pagination.astro │ ├── PostHog.astro │ ├── TableOfContentsList.astro │ ├── MobileMenuToggle.astro │ ├── PageFrame.astro │ ├── menu │ │ └── SideNavLinks.tsx │ └── ThemeSelect.astro ├── fonts │ ├── Inter-Medium.ttf │ ├── Inter-Regular.ttf │ ├── Inter-SemiBold.ttf │ ├── BerkeleyMono-Regular.otf │ └── font-face.css ├── env.d.ts ├── assets │ ├── index │ │ ├── images │ │ │ ├── vim.png │ │ │ ├── clion.png │ │ │ ├── goLand.png │ │ │ ├── rider.png │ │ │ ├── intelliJ.png │ │ │ ├── pycharm.png │ │ │ ├── rubyMine.png │ │ │ ├── webstorm.png │ │ │ ├── architecture-diagram-dark.png │ │ │ └── architecture-diagram-light.png │ │ └── icons │ │ │ ├── terminal.svg │ │ │ ├── BareMetal.svg │ │ │ ├── GitHub.svg │ │ │ ├── Bitbucket.svg │ │ │ └── GitLab.svg │ ├── tools │ │ └── vsext │ │ │ ├── ssh-key.png │ │ │ ├── allow-signin.png │ │ │ ├── choose-open.png │ │ │ ├── grant-access.png │ │ │ ├── ssh-config-2.png │ │ │ ├── ssh-config.png │ │ │ ├── url-redirect.png │ │ │ ├── video-poster.png │ │ │ ├── browser-prompt.png │ │ │ ├── editor-prompt.png │ │ │ ├── dashboard-signin.png │ │ │ ├── daytona-dashboard.png │ │ │ ├── daytona-vscode-1.png │ │ │ ├── daytona-vscode-2.png │ │ │ ├── daytona-vscode-3.png │ │ │ ├── sync-code-daytona.png │ │ │ ├── allow-daytona-vscode.png │ │ │ ├── code-external-website.png │ │ │ ├── environment-variables.png │ │ │ ├── remote-ssh-extension.png │ │ │ └── daytona-dashboard-settings.png │ ├── sidebar │ │ ├── rectangle.svg │ │ ├── credit-card.svg │ │ ├── link.svg │ │ ├── jetbrains.svg │ │ ├── folder.svg │ │ ├── layout.svg │ │ ├── agent-toolbox.svg │ │ ├── bookmark.svg │ │ ├── package.svg │ │ ├── building.svg │ │ ├── union.svg │ │ ├── pulse.svg │ │ ├── table.svg │ │ ├── vscode-alt.svg │ │ ├── log.svg │ │ ├── container-registries.svg │ │ ├── copy.svg │ │ ├── prebuilds.svg │ │ ├── api-key.svg │ │ ├── samples.svg │ │ ├── server.svg │ │ ├── tag.svg │ │ ├── install.svg │ │ ├── warning.svg │ │ ├── delete-alt.svg │ │ ├── circle-error.svg │ │ ├── tools.svg │ │ ├── user.svg │ │ ├── home.svg │ │ ├── shield.svg │ │ ├── terminal.svg │ │ ├── switch.svg │ │ ├── document.svg │ │ ├── layers.svg │ │ ├── flag.svg │ │ ├── globe.svg │ │ ├── git-branch.svg │ │ ├── git-commit.svg │ │ ├── computer.svg │ │ ├── users.svg │ │ ├── docker.svg │ │ ├── architecture.svg │ │ ├── clipboard-list.svg │ │ └── cluster.svg │ └── icons │ │ ├── text-arrow.svg │ │ ├── documentation-icon.svg │ │ ├── copy.svg │ │ ├── facts.svg │ │ ├── search.svg │ │ ├── bookmark.svg │ │ ├── edit.svg │ │ ├── default-mood.svg │ │ ├── arrow-left.svg │ │ ├── arrow-right.svg │ │ ├── closeX.svg │ │ ├── warning.svg │ │ ├── menu.svg │ │ ├── circle-error.svg │ │ ├── logo-icon.svg │ │ ├── dark-moon.svg │ │ ├── circle-information.svg │ │ └── light-sun.svg ├── styles │ ├── _variables.scss │ ├── components │ │ ├── page-frame.scss │ │ ├── docs-footer.scss │ │ ├── cards.scss │ │ └── search.scss │ ├── style.scss │ ├── mixins.scss │ ├── init.scss │ └── _color.scss └── content │ ├── docs │ ├── python-sdk │ │ ├── common │ │ │ └── errors.mdx │ │ ├── sync │ │ │ ├── object-storage.mdx │ │ │ └── volume.mdx │ │ ├── async │ │ │ ├── async-object-storage.mdx │ │ │ └── async-volume.mdx │ │ └── index.mdx │ ├── 404.md │ ├── regions.mdx │ ├── typescript-sdk │ │ ├── execute-response.mdx │ │ ├── errors.mdx │ │ ├── index.mdx │ │ ├── object-storage.mdx │ │ └── volume.mdx │ ├── billing.mdx │ ├── linked-accounts.mdx │ ├── api-keys.mdx │ ├── web-terminal.mdx │ ├── preview-and-authentication.mdx │ ├── limits.mdx │ ├── organizations.mdx │ ├── language-server-protocol.mdx │ └── configuration.mdx │ └── legacy-docs │ ├── installation │ └── method │ │ ├── script-unix.mdx │ │ ├── homebrew.mdx │ │ ├── nix.mdx │ │ ├── script-powershell.mdx │ │ ├── uninstall.mdx │ │ └── uninstall-windows.mdx │ ├── about │ └── what-is-daytona.mdx │ ├── configuration │ └── api-keys.mdx │ ├── sdk │ ├── sandbox-management.mdx │ └── language-server-protocol.mdx │ └── misc │ └── troubleshooting.mdx ├── public ├── daytona.png └── favicon.ico ├── vite.config.js ├── SECURITY.md ├── server ├── util │ └── environment.mjs └── index.mjs ├── tailwind.config.js ├── .devcontainer ├── welcome-message.txt └── devcontainer.json ├── .prettierrc ├── tsconfig.json ├── Dockerfile ├── .gitignore ├── .markdownlint-cli2.jsonc ├── package.json ├── astro.config.mjs └── tools └── update-sdk-reference.js /.nvmrc: -------------------------------------------------------------------------------- 1 | v20.10.0 2 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | yarn lint-staged 2 | -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | Dockerfile -------------------------------------------------------------------------------- /vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- 1 | PUBLIC_WEB_URL=https://docs.daytona.io 2 | FUNCTIONS_PORT=8000 -------------------------------------------------------------------------------- /src/components/TableOfContent/constants.ts: -------------------------------------------------------------------------------- 1 | export const PAGE_TITLE_ID = '_top' 2 | -------------------------------------------------------------------------------- /public/daytona.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/public/daytona.png -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /src/fonts/Inter-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/src/fonts/Inter-Medium.ttf -------------------------------------------------------------------------------- /src/env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | /// 3 | -------------------------------------------------------------------------------- /src/fonts/Inter-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/src/fonts/Inter-Regular.ttf -------------------------------------------------------------------------------- /src/fonts/Inter-SemiBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/src/fonts/Inter-SemiBold.ttf -------------------------------------------------------------------------------- /src/assets/index/images/vim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/src/assets/index/images/vim.png -------------------------------------------------------------------------------- /vite.config.js: -------------------------------------------------------------------------------- 1 | import svgr from 'vite-plugin-svgr' 2 | 3 | export default { 4 | plugins: [svgr()], 5 | } 6 | -------------------------------------------------------------------------------- /src/assets/index/images/clion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/src/assets/index/images/clion.png -------------------------------------------------------------------------------- /src/assets/index/images/goLand.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/src/assets/index/images/goLand.png -------------------------------------------------------------------------------- /src/assets/index/images/rider.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/src/assets/index/images/rider.png -------------------------------------------------------------------------------- /src/assets/tools/vsext/ssh-key.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/src/assets/tools/vsext/ssh-key.png -------------------------------------------------------------------------------- /src/fonts/BerkeleyMono-Regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/src/fonts/BerkeleyMono-Regular.otf -------------------------------------------------------------------------------- /src/assets/index/images/intelliJ.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/src/assets/index/images/intelliJ.png -------------------------------------------------------------------------------- /src/assets/index/images/pycharm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/src/assets/index/images/pycharm.png -------------------------------------------------------------------------------- /src/assets/index/images/rubyMine.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/src/assets/index/images/rubyMine.png -------------------------------------------------------------------------------- /src/assets/index/images/webstorm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/src/assets/index/images/webstorm.png -------------------------------------------------------------------------------- /src/styles/_variables.scss: -------------------------------------------------------------------------------- 1 | $screen-xs: 650px; 2 | $screen-lg: 1024px; 3 | $screen-l: 1280px; 4 | $screen-xl: 1400px; 5 | -------------------------------------------------------------------------------- /src/assets/tools/vsext/allow-signin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/src/assets/tools/vsext/allow-signin.png -------------------------------------------------------------------------------- /src/assets/tools/vsext/choose-open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/src/assets/tools/vsext/choose-open.png -------------------------------------------------------------------------------- /src/assets/tools/vsext/grant-access.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/src/assets/tools/vsext/grant-access.png -------------------------------------------------------------------------------- /src/assets/tools/vsext/ssh-config-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/src/assets/tools/vsext/ssh-config-2.png -------------------------------------------------------------------------------- /src/assets/tools/vsext/ssh-config.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/src/assets/tools/vsext/ssh-config.png -------------------------------------------------------------------------------- /src/assets/tools/vsext/url-redirect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/src/assets/tools/vsext/url-redirect.png -------------------------------------------------------------------------------- /src/assets/tools/vsext/video-poster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/src/assets/tools/vsext/video-poster.png -------------------------------------------------------------------------------- /src/assets/tools/vsext/browser-prompt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/src/assets/tools/vsext/browser-prompt.png -------------------------------------------------------------------------------- /src/assets/tools/vsext/editor-prompt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/src/assets/tools/vsext/editor-prompt.png -------------------------------------------------------------------------------- /src/assets/tools/vsext/dashboard-signin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/src/assets/tools/vsext/dashboard-signin.png -------------------------------------------------------------------------------- /src/assets/tools/vsext/daytona-dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/src/assets/tools/vsext/daytona-dashboard.png -------------------------------------------------------------------------------- /src/assets/tools/vsext/daytona-vscode-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/src/assets/tools/vsext/daytona-vscode-1.png -------------------------------------------------------------------------------- /src/assets/tools/vsext/daytona-vscode-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/src/assets/tools/vsext/daytona-vscode-2.png -------------------------------------------------------------------------------- /src/assets/tools/vsext/daytona-vscode-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/src/assets/tools/vsext/daytona-vscode-3.png -------------------------------------------------------------------------------- /src/assets/tools/vsext/sync-code-daytona.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/src/assets/tools/vsext/sync-code-daytona.png -------------------------------------------------------------------------------- /src/assets/tools/vsext/allow-daytona-vscode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/src/assets/tools/vsext/allow-daytona-vscode.png -------------------------------------------------------------------------------- /src/assets/tools/vsext/code-external-website.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/src/assets/tools/vsext/code-external-website.png -------------------------------------------------------------------------------- /src/assets/tools/vsext/environment-variables.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/src/assets/tools/vsext/environment-variables.png -------------------------------------------------------------------------------- /src/assets/tools/vsext/remote-ssh-extension.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/src/assets/tools/vsext/remote-ssh-extension.png -------------------------------------------------------------------------------- /src/components/Label.astro: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /src/assets/index/images/architecture-diagram-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/src/assets/index/images/architecture-diagram-dark.png -------------------------------------------------------------------------------- /src/assets/index/images/architecture-diagram-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/src/assets/index/images/architecture-diagram-light.png -------------------------------------------------------------------------------- /src/assets/tools/vsext/daytona-dashboard-settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daytonaio/docs/HEAD/src/assets/tools/vsext/daytona-dashboard-settings.png -------------------------------------------------------------------------------- /src/components/table/Table.astro: -------------------------------------------------------------------------------- 1 | --- 2 | 3 | --- 4 | 5 |
6 | 7 | 8 |
9 |
10 | -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- 1 | # Security Policy 2 | 3 | ## Reporting a Vulnerability 4 | 5 | To report a vulnerability, please contact us at [servicedesk@daytona.io](mailto:servicedesk@daytona.io). 6 | -------------------------------------------------------------------------------- /server/util/environment.mjs: -------------------------------------------------------------------------------- 1 | import { config } from 'dotenv' 2 | import { cleanEnv, num } from 'envalid' 3 | 4 | config() 5 | 6 | export const env = cleanEnv(process.env, { 7 | FUNCTIONS_PORT: num(), 8 | }) 9 | -------------------------------------------------------------------------------- /src/components/Version.astro: -------------------------------------------------------------------------------- 1 | --- 2 | import { version } from '../../package.json' 3 | import { major, minor } from 'semver' 4 | const [maj, min] = [major(version), minor(version)] 5 | --- 6 | 7 | {maj}.{min} 8 | -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- 1 | /** @type {import('tailwindcss').Config} */ 2 | export default { 3 | content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'], 4 | theme: { 5 | extend: {}, 6 | }, 7 | plugins: [], 8 | } 9 | -------------------------------------------------------------------------------- /src/content/docs/python-sdk/common/errors.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Errors" 3 | hideTitleOnPage: true 4 | --- 5 | 6 | ## DaytonaError 7 | 8 | ```python 9 | class DaytonaError(Exception) 10 | ``` 11 | 12 | Base error for Daytona SDK. 13 | -------------------------------------------------------------------------------- /src/components/cards/TitleCard.astro: -------------------------------------------------------------------------------- 1 | --- 2 | const { icon, title, link } = Astro.props 3 | --- 4 | 5 | 6 |
7 | 8 |
9 |
{title}
10 |
11 | -------------------------------------------------------------------------------- /src/components/cards/Card.astro: -------------------------------------------------------------------------------- 1 | --- 2 | const { icon, title, link } = Astro.props 3 | --- 4 | 5 | 6 |
7 | 8 |
9 |
{title}
10 | 11 |
12 | -------------------------------------------------------------------------------- /src/assets/sidebar/rectangle.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/assets/icons/text-arrow.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /.devcontainer/welcome-message.txt: -------------------------------------------------------------------------------- 1 | Welcome to the Daytona Documentation! 2 | 3 | To run the development server, execute the following command: 4 | 5 | yarn start 6 | 7 | When you make changes to content, the pages are automatically rebuilt. 8 | Auto-reload is enabled while viewing the website in your browser. 9 | -------------------------------------------------------------------------------- /src/content/docs/404.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 'Something went wrong · Daytona' 3 | template: doc 4 | editUrl: false 5 | tableOfContents: false 6 | pagefind: false 7 | head: 8 | - tag: title 9 | content: Something went wrong · Daytona 10 | hero: 11 | title: 'Something went wrong' 12 | tagline: Oops! Page not found. 13 | --- -------------------------------------------------------------------------------- /src/assets/icons/documentation-icon.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/components/cards/ImageCard.astro: -------------------------------------------------------------------------------- 1 | --- 2 | import { Image } from 'astro:assets' 3 | const { imageDark, imageAlt, link, icon } = Astro.props 4 | --- 5 | 6 | 7 |
8 | {!icon && {imageAlt}} 9 | {icon && {imageAlt}} 10 |
11 |
12 | -------------------------------------------------------------------------------- /src/components/ContentPanel.astro: -------------------------------------------------------------------------------- 1 | --- 2 | 3 | --- 4 | 5 |
6 |
7 |
8 | 9 | 22 | -------------------------------------------------------------------------------- /src/assets/sidebar/credit-card.svg: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/styles/components/page-frame.scss: -------------------------------------------------------------------------------- 1 | .page { 2 | display: flex; 3 | flex-direction: column; 4 | min-height: 100vh; 5 | margin: 0 auto; 6 | max-width: 1248px; 7 | 8 | @include for-pc-screen-sizes { 9 | margin: 0 80px; 10 | } 11 | 12 | @include for-laptop-screen-sizes { 13 | margin: 0 40px; 14 | } 15 | 16 | @include for-mobile-screen-sizes { 17 | margin: 0 20px; 18 | } 19 | } -------------------------------------------------------------------------------- /src/assets/sidebar/link.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/components/Sidebar.astro: -------------------------------------------------------------------------------- 1 | --- 2 | import SidebarSublist from './SidebarSublist.astro' 3 | import { SideNavLinks } from './menu/SideNavLinks' 4 | import { getSidebar } from '../utils/navigation' 5 | import { sidebarConfig } from '../content/config' 6 | --- 7 | 8 | 9 | 12 | -------------------------------------------------------------------------------- /src/assets/icons/copy.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "trailingComma": "es5", 3 | "tabWidth": 2, 4 | "semi": false, 5 | "singleQuote": true, 6 | "arrowParens": "avoid", 7 | "importOrder": ["^[./]"], 8 | "importOrderSeparation": true, 9 | "importOrderSortSpecifiers": true, 10 | "plugins": ["prettier-plugin-astro", "@trivago/prettier-plugin-sort-imports"], 11 | "overrides": [ 12 | { 13 | "files": "*.astro", 14 | "options": { 15 | "parser": "astro" 16 | } 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /src/assets/icons/facts.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/assets/sidebar/jetbrains.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "astro/tsconfigs/strict", 3 | "compilerOptions": { 4 | "jsx": "react-jsx", 5 | "jsxImportSource": "react", 6 | "strictNullChecks": true, 7 | "allowImportingTsExtensions": true, 8 | "moduleResolution": "bundler", 9 | "baseUrl": ".", 10 | "paths": { 11 | "@assets/*": ["src/assets/*"], 12 | "@styles/*": ["src/styles/*"], 13 | "@components/*": ["src/components/*"], 14 | "@helpers/*": ["src/helpers/*"] 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/content/legacy-docs/installation/method/script-unix.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Linux/macOS Installation 3 | --- 4 | import Aside from "@components/Aside.astro"; 5 | export const partial = true; 6 | 7 | You can install Daytona using the official installation script. 8 | 9 | 1. Run the following command in your shell: 10 | 11 | ```shell 12 | (curl -sf -L https://download.daytona.io/daytona/install.sh | sudo bash) && daytona server -y && daytona 13 | ``` 14 | 15 | 2. Read and follow the instructions printed in your console. 16 | -------------------------------------------------------------------------------- /src/styles/style.scss: -------------------------------------------------------------------------------- 1 | @import './_color.scss'; 2 | @import './_variables.scss'; 3 | @import './mixins.scss'; 4 | @import './init.scss'; 5 | @import './_typography.scss'; 6 | 7 | // components 8 | 9 | @import './components/markdown.scss'; 10 | @import './components/navbar.scss'; 11 | @import './components/burger-menu.scss'; 12 | @import './components/page-frame.scss'; 13 | @import './components/docs-footer.scss'; 14 | @import './components/cards.scss'; 15 | // @import './components/ides.scss'; 16 | // @import './components/lois-backup.scss'; 17 | -------------------------------------------------------------------------------- /src/components/Keyboard.astro: -------------------------------------------------------------------------------- 1 | --- 2 | interface Props { 3 | shortcuts: string | string[] 4 | } 5 | const { shortcuts } = Astro.props 6 | --- 7 | 8 | { 9 | !Array.isArray(shortcuts) ? ( 10 | {shortcuts} 11 | ) : ( 12 | shortcuts.map((shortcut, index) => { 13 | return ( 14 | <> 15 | {' '} 16 | {shortcut} 17 | {index === shortcuts.length - 1 ? ' ' : ' + '} 18 | 19 | ) 20 | }) 21 | ) 22 | } 23 | -------------------------------------------------------------------------------- /src/assets/icons/search.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM node:20.10.0 as deps 2 | 3 | WORKDIR /usr/src/app 4 | 5 | COPY package.json yarn.lock ./ 6 | 7 | RUN yarn --prod 8 | 9 | FROM node:20.10.0 as build 10 | 11 | ARG PUBLIC_WEB_URL 12 | 13 | ENV PUBLIC_WEB_URL=${PUBLIC_WEB_URL} 14 | 15 | WORKDIR /usr/src/app 16 | 17 | COPY . . 18 | 19 | RUN yarn 20 | RUN yarn build 21 | 22 | FROM node:20.10.0-slim 23 | 24 | WORKDIR /usr/src/app 25 | 26 | COPY server ./server 27 | COPY --link --from=build /usr/src/app/dist ./dist 28 | COPY --link --from=deps /usr/src/app/node_modules ./node_modules 29 | 30 | CMD [ "node", "server/index.mjs" ] -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # build output 2 | dist/ 3 | # generated types 4 | .astro/ 5 | 6 | # dependencies 7 | node_modules/ 8 | 9 | .pnpm-store 10 | 11 | # logs 12 | npm-debug.log* 13 | yarn-debug.log* 14 | yarn-error.log* 15 | pnpm-debug.log* 16 | 17 | 18 | # environment variables 19 | .env 20 | .env.production 21 | 22 | # macOS-specific files 23 | .DS_Store 24 | 25 | 26 | 27 | # Idea/Jetbrains 28 | .idea/ 29 | 30 | 31 | # git config 32 | .gitconfig 33 | 34 | # vscode settings 35 | .vscode 36 | .vscode/ 37 | 38 | # unnecessary lockfiles (only using yarn) 39 | package-lock.json 40 | pnpm-lock.yaml 41 | -------------------------------------------------------------------------------- /src/assets/sidebar/folder.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/components/MarkdownContent.astro: -------------------------------------------------------------------------------- 1 |
2 | 3 | 19 | -------------------------------------------------------------------------------- /src/assets/icons/bookmark.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/assets/sidebar/layout.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/assets/icons/edit.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/fonts/font-face.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'Berkeley Mono'; 3 | src: url('./BerkeleyMono-Regular.otf'); 4 | font-weight: 400; 5 | font-display: swap; 6 | } 7 | 8 | @font-face { 9 | font-family: 'Inter'; 10 | src: url('./Inter-Regular.ttf'); 11 | font-weight: 400; 12 | font-display: swap; 13 | } 14 | 15 | @font-face { 16 | font-family: 'Inter'; 17 | src: url('./Inter-Medium.ttf'); 18 | font-weight: 500; 19 | font-display: swap; 20 | } 21 | 22 | @font-face { 23 | font-family: 'Inter'; 24 | src: url('./Inter-SemiBold.ttf'); 25 | font-weight: 600; 26 | font-display: swap; 27 | } 28 | 29 | -------------------------------------------------------------------------------- /.markdownlint-cli2.jsonc: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://raw.githubusercontent.com/DavidAnson/markdownlint-cli2/24eb4dce508ab81398d14d75179123fca425f12d/schema/markdownlint-cli2-config-schema.json", 3 | "config": { 4 | "no-emphasis-as-heading": false, 5 | "line-length": false, 6 | "no-inline-html": false, 7 | "first-line-h1": false, 8 | "no-bare-urls": false, 9 | "no-duplicate-heading": false, 10 | "emphasis-style": { 11 | "style": "underscore" 12 | }, 13 | "ol-prefix": false, 14 | "fenced-code-language": false, 15 | "single-title": false, 16 | "heading-increment": false 17 | } 18 | } -------------------------------------------------------------------------------- /src/styles/mixins.scss: -------------------------------------------------------------------------------- 1 | @mixin for-mobile-screen-sizes { 2 | @media screen and (max-width: #{$screen-xs}) { 3 | @content; 4 | } 5 | } 6 | 7 | @mixin for-tablet-screen-sizes { 8 | @media screen and (max-width: #{$screen-lg}) { 9 | @content; 10 | } 11 | } 12 | 13 | @mixin for-laptop-screen-sizes { 14 | @media screen and (max-width: #{$screen-l}) { 15 | @content; 16 | } 17 | } 18 | 19 | @mixin for-pc-screen-sizes { 20 | @media screen and (max-width: #{$screen-xl}) { 21 | @content; 22 | } 23 | } 24 | 25 | @mixin for-hover-state { 26 | @media (hover: hover) and (pointer: fine) { 27 | @content; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/components/TableOfContents.astro: -------------------------------------------------------------------------------- 1 | --- 2 | import TableOfContentsList from './TableOfContentsList.astro' 3 | 4 | const { toc } = Astro.props 5 | --- 6 | 7 | { 8 | toc && ( 9 | 13 | 19 | 20 | ) 21 | } 22 | 23 | 24 | -------------------------------------------------------------------------------- /src/assets/sidebar/agent-toolbox.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/assets/sidebar/bookmark.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/assets/sidebar/package.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/assets/sidebar/building.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/assets/sidebar/union.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /server/index.mjs: -------------------------------------------------------------------------------- 1 | import express from 'express' 2 | import { env } from './util/environment.mjs' 3 | import { handler as ssrHandler } from '../dist/server/entry.mjs' 4 | 5 | const app = express() 6 | app.use(express.json()) 7 | app.use((req, res, next) => { 8 | res.setHeader('X-Frame-Options', 'SAMEORIGIN') 9 | next() 10 | }) 11 | app.use('/', express.static('dist/client/')) 12 | app.use((req, res, next) => { 13 | ssrHandler(req, res, next) 14 | }) 15 | app.get('*', (req, res) => { 16 | res.sendFile('404.html', { root: 'dist/client/' }) 17 | }) 18 | 19 | app.listen(env.FUNCTIONS_PORT, () => { 20 | console.log(`Functions available on port ${env.FUNCTIONS_PORT}`) 21 | }) 22 | -------------------------------------------------------------------------------- /src/assets/sidebar/pulse.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/assets/icons/default-mood.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/content/docs/regions.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Region Selection 3 | --- 4 | 5 | import { Tabs, TabItem } from '@astrojs/starlight/components'; 6 | 7 | Daytona is currently available in the following regions: 8 | 9 | - United States (US) 10 | - Europe (EU) 11 | 12 | You can select the region during the Daytona [configuration](/docs/configuration) step. 13 | 14 | ```python 15 | from daytona import Daytona, DaytonaConfig 16 | 17 | config = DaytonaConfig( 18 | target="us" 19 | ) 20 | 21 | daytona = Daytona(config) 22 | ``` 23 | 24 | ```typescript 25 | import { Daytona } from '@daytonaio/sdk'; 26 | 27 | const daytona: Daytona = new Daytona({ 28 | target: "eu" 29 | }); 30 | ``` 31 | -------------------------------------------------------------------------------- /src/assets/icons/arrow-left.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/assets/icons/arrow-right.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/assets/icons/closeX.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/assets/sidebar/table.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/assets/sidebar/vscode-alt.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/assets/sidebar/log.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/assets/sidebar/container-registries.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/assets/sidebar/copy.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/assets/sidebar/prebuilds.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/content/docs/typescript-sdk/execute-response.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: "ExecuteResponse" 3 | hideTitleOnPage: true 4 | --- 5 | 6 | 7 | ## ExecuteResponse 8 | 9 | Response from the command execution. 10 | 11 | **Properties**: 12 | 13 | - `artifacts?` _ExecutionArtifacts_ - Artifacts from the command execution 14 | - `exitCode` _number_ - The exit code from the command execution 15 | 16 | - `result` _string_ - The output from the command execution 17 | 18 | **Extends:** 19 | 20 | - `ExecuteResponse` 21 | 22 | ## ExecutionArtifacts 23 | 24 | Artifacts from the command execution. 25 | 26 | **Properties**: 27 | 28 | - `charts?` _Chart\[\]_ - List of chart metadata from matplotlib 29 | - `stdout` _string_ - Standard output from the command, same as `result` in `ExecuteResponse` 30 | -------------------------------------------------------------------------------- /src/styles/init.scss: -------------------------------------------------------------------------------- 1 | html { 2 | scroll-behavior: smooth; 3 | scroll-padding-top: 60px; 4 | } 5 | 6 | body { 7 | background-color: var(--bg-color); 8 | } 9 | 10 | main { 11 | width: 100%; 12 | height: 100%; 13 | margin: 0; 14 | padding: 0; 15 | display: flex; 16 | flex-direction: column; 17 | background: var(--bg-color); 18 | gap: 16px; 19 | } 20 | 21 | section { 22 | max-width: 1248px; 23 | //margin: 0 80px; 24 | padding-bottom: 0 !important; 25 | 26 | @include for-laptop-screen-sizes { 27 | margin: 0 40px; 28 | } 29 | 30 | @include for-mobile-screen-sizes { 31 | margin: 0 20px; 32 | } 33 | } 34 | 35 | a { 36 | text-decoration: unset; 37 | } 38 | pre > code { 39 | text-wrap: wrap !important; 40 | white-space: pre-wrap; 41 | } 42 | -------------------------------------------------------------------------------- /src/assets/sidebar/api-key.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/assets/sidebar/samples.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/assets/sidebar/server.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/assets/sidebar/tag.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/assets/sidebar/install.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/assets/icons/warning.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/assets/sidebar/warning.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/assets/icons/menu.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/components/Head.astro: -------------------------------------------------------------------------------- 1 | --- 2 | import type { Props } from '@astrojs/starlight/props' 3 | import Default from '@astrojs/starlight/components/Head.astro' 4 | import PostHog from '@components/PostHog.astro' 5 | import ZoomInfo from '@components/ZoomInfo.astro' 6 | const image = '/docs/daytona.png' 7 | --- 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | {import.meta.env.PROD && } 18 | {import.meta.env.PROD && } 19 | -------------------------------------------------------------------------------- /src/assets/sidebar/delete-alt.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/assets/icons/circle-error.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/components/EditLink.astro: -------------------------------------------------------------------------------- 1 | --- 2 | import editIcon from '@assets/icons/edit.svg?raw' 3 | 4 | const { editUrl, labels } = Astro.props 5 | --- 6 | 7 | { 8 | editUrl && ( 9 | 10 | 11 | {labels['page.editLink']} 12 | 13 | ) 14 | } 15 | 16 | 40 | -------------------------------------------------------------------------------- /src/assets/sidebar/circle-error.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/content/legacy-docs/installation/method/homebrew.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Homebrew Installation 3 | --- 4 | import Aside from '@components/Aside.astro' 5 | export const partial = true; 6 | 7 | Install Daytona via the Homebrew package manager using the following commands: 8 | 9 | ```shell 10 | brew tap daytonaio/tap 11 | brew install daytona 12 | ``` 13 | 14 | ### Uninstall Daytona via Homebrew 15 | 16 | 20 | 21 |
22 | 23 | Run the following command to uninstall Daytona: 24 | 25 | ```shell 26 | brew uninstall daytona 27 | ``` 28 | 29 | ### Update Daytona via Homebrew 30 | 31 | Run the following commands to update Daytona: 32 | 33 | ```shell 34 | brew update 35 | brew upgrade daytona 36 | ``` 37 | -------------------------------------------------------------------------------- /src/content/legacy-docs/installation/method/nix.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Nix Installation 3 | --- 4 | import Aside from '@components/Aside.astro' 5 | export const partial = true; 6 | 7 | Daytona is available on nixpkgs unstable as [**`daytona-bin`**](https://search.nixos.org/packages?channel=unstable&show=daytona-bin). 8 | 9 |
10 | 11 | ### Ephemeral Usage 12 | 13 | Use **`nix-shell`** to try Daytona before permanently installing it on your system: 14 | 15 | ```shell 16 | nix-shell -p daytona-bin 17 | ``` 18 | 19 | ### Install Globally 20 | 21 | To permanently install Daytona on your system, you can add it to the relevant configuration. 22 | 23 | - On NixOS systems, add **`daytona-bin`** as a system package in **`/etc/nixos/configuration.nix`**. 24 | - On other Linux systems, use [home-manager](https://github.com/nix-community/home-manager) and add **`daytona-bin`** as a local package. 25 | -------------------------------------------------------------------------------- /src/assets/icons/logo-icon.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/content/docs/billing.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Billing 3 | --- 4 | 5 | The Billing subpage in the Dashboard shows billing information for Organizations. 6 | 7 | ## Wallet 8 | 9 | The Wallet section shows the balance of the Organization's wallet and the amount of credits spent this month. 10 | 11 | ## Automatic Top-Up 12 | 13 | The Automatic Top-Up section allows organizations to set automatic top-up rules for their wallets. 14 | 15 | The Threshold parameter sets the amount of credits that will trigger a top-up. 16 | 17 | The Target parameter sets the amount of credits that will be available in the wallet after the top-up. 18 | 19 | Setting Threshold and Target to 0 will disable the automatic top-up. 20 | 21 | ## Cost Breakdown 22 | 23 | The Cost Breakdown chart shows breakdown of costs per resource. 24 | 25 | Users can view consumption for CPU, RAM and Disk and toggle between area and bar charts. 26 | -------------------------------------------------------------------------------- /src/assets/sidebar/tools.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/components/table/TableRow.astro: -------------------------------------------------------------------------------- 1 | --- 2 | interface Props { 3 | contents: string | string[] | HTMLElement | HTMLSpanElement 4 | } 5 | const { contents } = Astro.props 6 | // This thing needs to be fixed, problem: 1. HTMLElement can't be rendered as props, ideally they should be 2. Array are not getting rendered correctly, current implementation is a temporary fix 7 | --- 8 | 9 | { 10 | !Array.isArray(contents) ? ( 11 | 12 | {contents ? contents : } 13 | { && ( 14 | 15 | 16 | 17 | )} 18 | 19 | ) : ( 20 | 21 | {contents ? ( 22 | contents.map(content => { 23 | ;{content} 24 | }) 25 | ) : ( 26 | 27 | )} 28 | 29 | ) 30 | } 31 | -------------------------------------------------------------------------------- /src/assets/sidebar/user.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/assets/icons/dark-moon.svg: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/components/ThemeProvider.astro: -------------------------------------------------------------------------------- 1 | 28 | -------------------------------------------------------------------------------- /src/components/Hero.astro: -------------------------------------------------------------------------------- 1 | --- 2 | import { PAGE_TITLE_ID } from './TableOfContent/constants' 3 | const { data } = Astro.props.entry 4 | const { title = data.title, tagline, image, actions = [] } = data.hero || {} 5 | --- 6 | 7 |
8 |

9 | {tagline &&
} 10 |
11 | 12 | 38 | -------------------------------------------------------------------------------- /src/assets/icons/circle-information.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/assets/sidebar/home.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/assets/sidebar/shield.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/assets/index/icons/terminal.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/assets/sidebar/terminal.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/assets/sidebar/switch.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/assets/sidebar/document.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/content/docs/python-sdk/sync/object-storage.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: "ObjectStorage" 3 | hideTitleOnPage: true 4 | --- 5 | 6 | ## ObjectStorage 7 | 8 | ```python 9 | class ObjectStorage() 10 | ``` 11 | 12 | ObjectStorage class for interacting with object storage services. 13 | 14 | **Attributes**: 15 | 16 | - `endpoint_url` _str_ - The endpoint URL for the object storage service. 17 | - `aws_access_key_id` _str_ - The access key ID for the object storage service. 18 | - `aws_secret_access_key` _str_ - The secret access key for the object storage service. 19 | - `aws_session_token` _str_ - The session token for the object storage service. Used for temporary credentials. 20 | - `bucket_name` _str_ - The name of the bucket to use. 21 | 22 | #### ObjectStorage.upload 23 | 24 | ```python 25 | def upload(path, organization_id, archive_base_path=None) -> str 26 | ``` 27 | 28 | Uploads a file to the object storage service. 29 | 30 | **Arguments**: 31 | 32 | - `path` _str_ - The path to the file to upload. 33 | - `organization_id` _str_ - The organization ID to use. 34 | - `archive_base_path` _str_ - The base path to use for the archive. 35 | -------------------------------------------------------------------------------- /src/components/PageSidebar.astro: -------------------------------------------------------------------------------- 1 | --- 2 | import TableOfContents from 'virtual:starlight/components/TableOfContents' 3 | --- 4 | 5 | { 6 | Astro.props.toc && ( 7 | <> 8 | 13 | 14 | ) 15 | } 16 | 17 | 43 | -------------------------------------------------------------------------------- /src/content/docs/linked-accounts.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Linked Accounts 3 | --- 4 | 5 | Daytona supports the linking of user accounts from various identity providers. At the moment, the following providers are supported: 6 | 7 | - Google 8 | - GitHub 9 | 10 | This allows you to use different providers for logging into your Daytona account. 11 | 12 | :::tip 13 | 14 | #### Unlock higher usage limits 15 | 16 | Linking your GitHub account is one of the requirements to automatically upgrade to Tier 2. 17 | 18 | ::: 19 | 20 | ## How to link an account 21 | 22 | To link an account, go to the [Linked Accounts](https://app.daytona.io/dashboard/user/linked-accounts) page in the Daytona dashboard and click on the "Link Account" button for the account provider you want to link. 23 | 24 | ## How to unlink an account 25 | 26 | To unlink an account, go to the [Linked Accounts](https://app.daytona.io/dashboard/user/linked-accounts) page in the Daytona dashboard and click on the "Unlink" button for the account provider you want to unlink. 27 | 28 | ## Need More? 29 | 30 | If you need support for other identity providers, reach out to [support@daytona.io](mailto:support@daytona.io). 31 | -------------------------------------------------------------------------------- /src/content/docs/python-sdk/async/async-object-storage.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: "AsyncObjectStorage" 3 | hideTitleOnPage: true 4 | --- 5 | 6 | ## AsyncObjectStorage 7 | 8 | ```python 9 | class AsyncObjectStorage() 10 | ``` 11 | 12 | AsyncObjectStorage class for interacting with object storage services. 13 | 14 | **Attributes**: 15 | 16 | - `endpoint_url` _str_ - The endpoint URL for the object storage service. 17 | - `aws_access_key_id` _str_ - The access key ID for the object storage service. 18 | - `aws_secret_access_key` _str_ - The secret access key for the object storage service. 19 | - `aws_session_token` _str_ - The session token for the object storage service. Used for temporary credentials. 20 | - `bucket_name` _str_ - The name of the bucket to use. 21 | 22 | #### AsyncObjectStorage.upload 23 | 24 | ```python 25 | async def upload(path, organization_id, archive_base_path=None) -> str 26 | ``` 27 | 28 | Uploads a file to the object storage service. 29 | 30 | **Arguments**: 31 | 32 | - `path` _str_ - The path to the file to upload. 33 | - `organization_id` _str_ - The organization ID to use. 34 | - `archive_base_path` _str_ - The base path to use for the archive. 35 | -------------------------------------------------------------------------------- /src/assets/index/icons/BareMetal.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/content/legacy-docs/installation/method/script-powershell.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: PowerShell Installation 3 | --- 4 | 5 | import Aside from '@components/Aside.astro' 6 | 7 | export const partial = true 8 | 9 | 1. Run the following command in PowerShell: 10 | 11 | ```powershell 12 | $architecture = if ($env:PROCESSOR_ARCHITECTURE -eq "AMD64") { "amd64" } else { "arm64" } 13 | md -Force "$Env:APPDATA\bin\daytona"; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]'Tls,Tls11,Tls12'; 14 | Invoke-WebRequest -URI "https://download.daytona.io/daytona/v0.53/daytona-windows-$architecture.exe" -OutFile "$Env:APPDATA\bin\daytona\daytona.exe"; 15 | $env:Path += ";" + $Env:APPDATA + "\bin\daytona"; [Environment]::SetEnvironmentVariable("Path", $env:Path, [System.EnvironmentVariableTarget]::User); 16 | daytona serve; 17 | ``` 18 | 19 | 30 | -------------------------------------------------------------------------------- /src/assets/sidebar/layers.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/assets/index/icons/GitHub.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/assets/sidebar/flag.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/assets/index/icons/Bitbucket.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/content/docs/api-keys.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: API Keys 3 | --- 4 | 5 | import { Tabs, TabItem } from '@astrojs/starlight/components'; 6 | 7 | Daytona API keys are used to authenticate requests to the [Daytona API](/docs/tools/api). 8 | 9 | The [Configuration](/docs/configuration) page covers how to set up your environment variables, including the `DAYTONA_API_KEY` environment variable. 10 | 11 | To list existing API Keys go to the Keys subpage in the Dashboard. Clicking on `Create Key` will show a modal for creating and copying a new key to your clipboard. 12 | 13 | ## Expiration 14 | 15 | When creating a new API Key you can optionally set an expiration date for the key. If no expiration date is set, the key will never expire. 16 | 17 | ## Permissions 18 | 19 | When adding a new API Key you will be prompted to select a set of permissions for the key: 20 | 21 | | Permission | Description | 22 | |------------|-------------| 23 | | **`Sandboxes`** | Grants the ability to create and manage Sandboxes | 24 | | **`Snapshots`** | Grants the ability to create and manage Snapshots | 25 | | **`Registries`** | Grants the ability to create and manage Registries | 26 | 27 | Each of these permissions have scopes for creating and updating resources (e.g. `write:sandboxes`) and delete resources (e.g. `delete:sandboxes`) that can be separately granted. 28 | -------------------------------------------------------------------------------- /src/assets/sidebar/globe.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/components/Aside.astro: -------------------------------------------------------------------------------- 1 | --- 2 | import { AstroError } from 'astro/errors' 3 | import bookmarkIcon from '@assets/icons/bookmark.svg?raw' 4 | import warningIcon from '@assets/icons/warning.svg?raw' 5 | import circleInfoIcon from '@assets/icons/circle-information.svg?raw' 6 | import circleErrorIcon from '@assets/icons/circle-error.svg?raw' 7 | 8 | const asideVariants = ['note', 'tip', 'caution', 'danger'] as const 9 | const icons = { 10 | note: circleInfoIcon, 11 | tip: bookmarkIcon, 12 | caution: warningIcon, 13 | danger: circleErrorIcon, 14 | } as const 15 | 16 | interface Props { 17 | type?: (typeof asideVariants)[number] 18 | title?: string 19 | } 20 | 21 | let { type = 'note', title } = Astro.props 22 | 23 | if (!asideVariants.includes(type)) { 24 | throw new AstroError( 25 | 'Invalid `type` prop passed to the `