The Open Visualization Collaboration Space "OpenVis" is a forum within the OpenJS Foundation to neutrally govern the most comprehensive and widely adopted visualization libraries based on JavaScript and WebGL.
This is our website, built on Next.js and hosted on Vercel.
- Prerequisites
- Getting Started
- Available Scripts
- Environment Variables
- Contributing
- Technology Stack
- License
- Links
Before you begin, ensure you have the following installed:
- Node.js: Version 20.18.1 or higher (Volta recommended, but not required)
- Yarn: Version 1.22.22 (Yarn 1 is required as Vercel only supports Yarn 1)
You can check your versions by running:
node --version
yarn --version- Clone the repository:
git clone https://github.com/openjs-foundation/open-visualization.git
cd open-visualization- Install dependencies:
yarn install- Set up environment variables:
cp .env.example .env.local- Run the development server:
yarn devThis will start both the Next.js development server and Slice Machine concurrently.
- Open your browser:
Navigate to http://localhost:3000 to see the application running.
The page auto-updates as you edit files in the app/ directory.
In the project directory, you can run:
Runs the app in development mode with both Next.js and Slice Machine.
Runs only the Next.js development server on http://localhost:3000.
Builds the application for production. The build is optimized for best performance.
Starts the production server. You must run yarn build first.
Runs the linter to check for code quality issues.
Starts the Slice Machine for managing Prismic slices.
See step 3 in the Getting Started section above for local setup.
For production, set NEXT_PUBLIC_SITE_URL to the appropriate production URL.
We welcome contributions to the Open Visualization website! Here's how you can help:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Make your changes
- Run linting (
yarn lint) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Improve documentation
- Fix bugs or issues
- Add new features
- Enhance UI/UX
- Write tests
- Optimize performance
Please ensure your code follows the project's coding standards and passes all linting checks.
For larger changes, please open an issue to discuss the proposal first.
- Framework: Next.js 15 (App Router)
- Language: TypeScript
- Styling: Tailwind CSS, Styled Components
- CMS: Prismic
- UI Components: Radix UI, Lucide Icons
- Deployment: Vercel
- Analytics: Vercel Analytics
This project is part of the OpenJS Foundation. Please refer to the OpenJS Foundation governance for licensing information.