Skip to content

G-Research/g-research.github.io

Repository files navigation

G-Research

Open-Source at G-Research

Explore G-Research's open-source projects and learn more about our Open Source Program Office.

Organization website

This repository contains the source code for the G-Research organization website.

The website is built using Gatsby, hosted on GitHub Pages, and published at g-research.github.io/.

Features

  • Showcases G-Research's open-source projects
  • Automatically collects and processes repository data from the GitHub API
  • Allows custom overrides for repository information
  • Supports custom logos for repositories

Repository data

The website automatically fetches data for G-Research's open-source projects from the GitHub API. This data is processed and stored in the static/data/ directory in JSON format, which is then used to generate the website.

Overriding repository data

You can customize the information for specific repositories by adding entries to static/data/custom_values.json where the key is the repository's full name and the value is an object containing the data to override. This is especially useful for:

  • Setting Discord URLs, Slack URLs, website URLs...
  • Adding custom descriptions

When overriding data, ensure you follow the schema defined in src/core/types/index.ts.

Custom logos

To use a custom logo for a repository:

  1. Create an SVG file named after the repository
  2. Place it in a folder named after the organization within the static/hosted_logos/ directory
  3. Make sure all folder and file names are lowercase

Example: For the repository G-Research/g-research.github.io, the custom logo should be located at: static/hosted_logos/g-research/g-research.github.io.svg.

Custom logos will be used instead of the organization's GitHub avatar.

Development

This project is built using Gatsby, a React-based static site generator. It uses TypeScript and Mantine UI components.

🚀 Quick start

Install dependencies

yarn install

Start developing

yarn develop

Open the code and start customizing!

Your site is now running at http://localhost:9000!

Edit your code to see your site update in real-time!

Learn more about Gatsby

License

This project is licensed under the MIT License.

About

For a prettier view of G-Research's Github presence

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published