
Security News
White House Authorizes Private Companies to Conduct Offensive Cyber Operations
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.
@openai/sites-vite-plugin
Advanced tools
@openai/sites-vite-pluginVite plugin for packaging OpenAI Sites deployment metadata.
import { sites } from '@openai/sites-vite-plugin';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [sites()],
});
During a production build, the plugin copies Sites project files into the deployment artifact:
.openai/hosting.json to dist/.openai/hosting.jsondrizzle/** to dist/.openai/drizzle/**The build fails when .openai/hosting.json is missing. The generated
dist/.openai directory is replaced on every build. V1 assumes Vite's default
dist output directory and does not expose configuration.
During vite dev, the same sites() plugin provides a simulated Sign in with
ChatGPT user so authenticated Site pages can be developed locally.
/signin-with-chatgpt?return_to=/ to sign in.oai-authenticated-user-id (local_seedy) as the stable user ID.seedy@sites.test and Seedy./signout-with-chatgpt?return_to=/ to sign out.This package is licensed under the MIT License.
FAQs
Vite plugin for packaging OpenAI Sites deployment metadata.
The npm package @openai/sites-vite-plugin receives a total of 20,001 weekly downloads. As such, @openai/sites-vite-plugin popularity was classified as popular.
We found that @openai/sites-vite-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 17 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.

Research
/Security News
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.