Skip to content

omron-sinicx/lappi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

145 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎨 sinicx-template

build build

Tip

You can switch themes by setting theme field in template.yaml

theme: default # default || dark

πŸš€ Getting Started

πŸ“‹ Prerequisites | πŸͺŸWSL 🐧Linux 🍎MacOS

πŸ”§ Node.js Installation

We recommend using Volta for Node.js version management:

curl https://get.volta.sh/ | bash
# Restart your shell (The configurations is automatically added to your *shrc || *shenv)
# export VOLTA_HOME="$HOME/.volta"
# export PATH="$VOLTA_HOME/bin:$PATH"

volta install node@20.11.0
volta pin node@20.11.0

Verify installation:

node --version  # Should show v20.11.0
npm --version   # Should show 10.2.4+

πŸ› οΈ Development

πŸ“₯ Installation

npm install

πŸ’» Development Mode

npm run dev

πŸ—οΈ Production Mode

npm run clean
npm run build
npm run preview

πŸ–₯️ Puppeteer Dependencies

Required for pre-rendering React apps with react-snap:

sudo apt install -y libgtk2.0-0 libgtk-3-0 libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb libgbm-dev fonts-ipafont

If the react-snap post-build process completes successfully, you should see a message similar to this:

βœ“ built in 5.01s
> sinicx-template@2.0.0 postbuild
> react-snap

πŸ’¬  console.log at /: Unrecognized Content-Security-Policy directive 'require-trusted-types-for'.

πŸ’¬  console.log at /: SecurityError: Blocked a frame with origin "https://speakerdeck.com" from accessing a cross-origin frame.
πŸ’¬  console.log at /: 'window.webkitStorageInfo' is deprecated. Please use 'navigator.webkitTemporaryStorage' or 'navigator.webkitPersistentStorage' instead.
βœ…  crawled 1 out of 1 (/)

πŸ“‹ Template

Complete template.yaml by filling in the required values. Use null for any unavailable content (e.g., blog: null).

organization: OMRON SINIC X
twitter: "@omron_sinicx"
title: Path Planning using Neural A* Search
conference: ICML2021
resources:
  paper: https://arxiv.org/abs/1909.13111
  code: https://github.com/omron-sinicx/multipolar
  video: https://www.youtube.com/embed/adUnIj83RtU
  blog: https://medium.com/sinicx/multipolar-multi-source-policy-aggregation-for-transfer-reinforcement-learning-between-diverse-bc42a152b0f5
  ...

🎨 Customization

πŸ”§ Styling

  • Customize appearance by modifying UIKit variables in src/scss/theme.scss (zero hand-written CSS)
  • Extend *.jsx files with components from:

πŸ“ Project Structure

template.yaml       # Configuration
src/
β”œβ”€β”€ components/     # React components
β”œβ”€β”€ html/           # HTML templates
β”œβ”€β”€ media/          # Media assets (relocated to assets/ automatically)
β”œβ”€β”€ videos/         # Video content
β”œβ”€β”€ js/             # JavaScript files
β”œβ”€β”€ pages/          # Page templates
└── scss/           # Styling

πŸš€ Release your project page automatically by GitHub Actions

:octocat: Deploy from GitHub Actions

image

Note

When using GitHub Actions to deploy a site on GitHub Pages, the source code is built internally during the workflow run. Only the build artifacts (e.g., HTML, CSS, JS) are deployed to the GitHub Pages environment, while the repository itself retains only the source code.

🌿 Push project page source to "project-page" branch

TroubleShooting

Branch "project-page" is not allowed to deploy to github-pages due to environment protection rules Navigate to Settings > Environments > github-pages > πŸ—‘οΈ

image

πŸ” SEO & Social Sharing

🌐 OGP Support

Caution

For local builds, react-snap must work properly to convert output into static HTML. We recommend building via GitHub Actions for consistent dependency management.

🐢 Husky & Typo Checking

Automatic Typo Checking

This project uses Husky to automatically check for typos during commits. The check is performed using the typos tool and only runs on staged files (files that have been git added).

Manual Typo Checking

To manually check for typos without committing:

npx typos

This command checks all files in the project, regardless of whether they are staged for commit or not.

Disabling Git Hooks

To temporarily disable all git hooks (including lint, format, and typo validation) during commit:

export HUSKY=0

You can re-enable hooks by unsetting the variable or starting a new terminal session.

🀝 Contributing

Issues and PRs welcome! Feel free to open an issue

About

LAPPI: Interactive Optimization With LLM-Assisted Preference-Based Problem Instantiation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors