Skip to content

feat: add CodeSnip GitHub Pages site - #15

Closed
MstfSlm38 wants to merge 6 commits into
26Q2.5from
feat/github-pages
Closed

MstfSlm38 wants to merge 6 commits into
26Q2.5from
feat/github-pages

Conversation

@MstfSlm38

@MstfSlm38 MstfSlm38 commented Aug 26, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • add a responsive CodeSnip landing page under docs/
  • showcase features, screenshots, roadmap, and download/source links
  • deploy the docs/ directory through GitHub Pages Actions
  • keep the site dependency-free with vanilla HTML/CSS/JS

Design

  • dark Liquid Glass-inspired visual language
  • responsive desktop/tablet/mobile layout
  • subtle reveal animations
  • CodeSnip branding and current roadmap from the repository README

Deployment

The workflow deploys docs/ to GitHub Pages on pushes to 26Q2.5 and supports manual runs.

@chatgpt-codex-connector

Copy link
Copy Markdown

💡 Codex Review

https://github.com/MstfSlm38/CodeSnip/blob/d050d6a24b8049d9dba064d815fbbfd2cc3ea1cd/.github/workflows/pages.yml#L33
P2 Badge Deploy a browser-safe bundle to Pages

This deploy step uploads the repository root directly as the Pages site, so GitHub Pages serves the checked-in index.html and renderer.js. That renderer starts with require('electron'), which is only available in the Electron runtime; in a normal Pages browser the script aborts before registering the snippet rendering and button handlers, leaving the deployed URL non-functional. Build or provide a browser-safe entrypoint instead of publishing the Electron renderer directly.


https://github.com/MstfSlm38/CodeSnip/blob/d050d6a24b8049d9dba064d815fbbfd2cc3ea1cd/.github/workflows/npm-publish.yml#L19
P2 Badge Define tests before running npm test

On every release this build job reaches npm test, but package.json only defines start and dist; I confirmed in this repo that npm test exits with Missing script: "test". Because publish-npm depends on this job, releases will never publish unless a test script is added or this step is removed/replaced.


https://github.com/MstfSlm38/CodeSnip/blob/d050d6a24b8049d9dba064d815fbbfd2cc3ea1cd/package.json#L3
P2 Badge Use a semver package version for publishing

This changes the package version to 26Q2.5, which npm rejects when publishing; I confirmed npm publish --dry-run exits with Invalid version: "26Q2.5". Even after the release workflow gets past its build job, the new npm publish step will fail until this is changed to a valid semver value or publishing is disabled.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@MstfSlm38 MstfSlm38 changed the title ci: deploy CodeSnip to GitHub Pages feat: add CodeSnip GitHub Pages site Aug 27, 2026
@MstfSlm38 MstfSlm38 closed this Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant