{"id":20356033,"url":"https://github.com/project-monai/project-monai.github.io","last_synced_at":"2025-03-04T17:32:16.596Z","repository":{"id":38186475,"uuid":"250607784","full_name":"Project-MONAI/project-monai.github.io","owner":"Project-MONAI","description":"project monai website https://monai.io/","archived":false,"fork":false,"pushed_at":"2024-04-14T00:10:26.000Z","size":14590,"stargazers_count":5,"open_issues_count":3,"forks_count":11,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-04-15T15:08:20.365Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Project-MONAI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-27T18:02:07.000Z","updated_at":"2024-04-28T01:27:56.322Z","dependencies_parsed_at":"2024-02-18T01:22:58.841Z","dependency_job_id":"86e7c160-7d49-404a-88c2-45d4f5f08078","html_url":"https://github.com/Project-MONAI/project-monai.github.io","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Project-MONAI%2Fproject-monai.github.io","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Project-MONAI%2Fproject-monai.github.io/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Project-MONAI%2Fproject-monai.github.io/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Project-MONAI%2Fproject-monai.github.io/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Project-MONAI","download_url":"https://codeload.github.com/Project-MONAI/project-monai.github.io/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241889633,"owners_count":20037546,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T23:14:48.628Z","updated_at":"2025-03-04T17:32:16.586Z","avatar_url":"https://github.com/Project-MONAI.png","language":"HTML","readme":"# Project MONAI Website\n\nThis repository contains the source code and content for the Project MONAI website found at [monai.io](https://monai.io/). For more information about MONAI, visit the [Project-MONAI GitHub](https://github.com/Project-MONAI).\n\n## Features\n\n- Modern, responsive design using Tailwind CSS\n- Component-based architecture for better maintainability\n- Optimized build process for production\n- Development server with hot reloading\n- SEO optimizations and meta tag management\n- Automated asset optimization\n\n## Prerequisites\n\n- Node.js (v14 or higher)\n- npm (v6 or higher)\n\n## Getting Started\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/Project-MONAI/project-monai.github.io.git\n   cd project-monai.github.io\n   ```\n\n2. Install dependencies:\n   ```bash\n   npm install\n   ```\n\n3. Start the development server:\n   ```bash\n   npm run dev\n   ```\n\nThe site will be available at `http://localhost:3000` with hot reloading enabled.\n\n## Project Structure\n\n```\nproject-monai.github.io/\n├── components/          # Reusable HTML components\n├── assets/             # Static assets (images, CSS, JS)\n├── scripts/           # Build and optimization scripts\n├── src/               # Source files\n└── dist/              # Production build output\n```\n\n## Components\n\nThe website uses a component-based architecture. Common elements like headers, footers, and navigation are stored in the `components/` directory and included in pages using the include syntax:\n\n```html\n\u003c!-- #include file=\"components/head.html\" --\u003e\n\u003c!-- #include file=\"components/header.html\" --\u003e\n\u003c!-- #include file=\"components/footer.html\" --\u003e\n\u003c!-- #include file=\"components/scripts.html\" --\u003e\n```\n\n## Development\n\n### Adding New Pages\n\n1. Create a new HTML file in the root directory\n2. Use the component includes for common elements\n3. Add your page-specific content\n4. Update meta tags using the head component variables:\n   ```html\n   \u003cscript\u003e\n       document.head.innerHTML = document.head.innerHTML\n           .replace('${title}', 'Your Page Title')\n           .replace('${description}', 'Your page description')\n           .replace('${canonical_url}', 'https://monai.io/your-page.html');\n   \u003c/script\u003e\n   ```\n\n### Modifying Components\n\nComponents are located in the `components/` directory. When modifying a component:\n1. The change will automatically affect all pages using that component\n2. Test the changes across multiple pages to ensure consistency\n3. Run the development server to see changes in real-time\n\n### CSS Development\n\nThe project uses Tailwind CSS with a custom configuration:\n\n1. Development:\n   ```bash\n   npm run watch\n   ```\n   This will watch for changes and rebuild the CSS automatically.\n\n2. Adding new styles:\n   - Add custom styles in `src/css/`\n   - Configure Tailwind in `tailwind.config.js`\n   - Custom classes can be added to `assets/css/`\n\n## Building for Production\n\n1. Build the site:\n   ```bash\n   npm run build\n   ```\n\nThis will:\n- Process and include all components\n- Optimize images and assets\n- Minify CSS and JavaScript\n- Generate the production build in `dist/`\n\n## Deployment\n\nThe site is automatically deployed to GitHub Pages when changes are pushed to the main branch.\n\n## Contributing\n\n1. Fork the repository\n2. Create a feature branch\n3. Make your changes\n4. Submit a pull request\n\n## License\n\nThis project is licensed under the Apache License 2.0 - see the [LICENSE](LICENSE) file for details.\n\n## Support\n\nIf you need help or have questions:\n1. Open an issue in this repository\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproject-monai%2Fproject-monai.github.io","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fproject-monai%2Fproject-monai.github.io","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproject-monai%2Fproject-monai.github.io/lists"}