npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@c-time/frelio-cms

v1.4.2

Published

Frelio CMS Admin - pre-built static bundle for 1-repo setup

Downloads

857

Readme

@c-time/frelio-cms

Frelio CMS の管理画面バンドル。GitHub をデータストアとするヘッドレス CMS の管理 UI を提供する。

このパッケージは、@c-time/frelio-clifrelio init / frelio update コマンドから利用されるビルド済み静的アセットで、直接インストールして使うものではない。


概要

  • React + Vite + MUI で構築された SPA 管理画面
  • GitHub API 経由でコンテンツを CRUD
  • GitHub OAuth によるログイン認証
  • Cloudflare Pages Functions で OAuth + ファイルアップロード API を提供
  • Cloudflare R2 にファイルを保存・配信

セットアップ

管理画面のセットアップには @c-time/frelio-cli を使用する。

npx @c-time/frelio-cli init

詳細は @c-time/frelio-cli の README を参照。

管理画面の更新

npx @c-time/frelio-cli update

最新バージョンの管理画面バンドルがダウンロードされ、admin/functions/workers/ が更新される。admin/config.json(設定ファイル)は自動的に保護される。


パッケージ構成

@c-time/frelio-cms
├── dist/           # ビルド済み管理画面 (HTML + JS + CSS)
└── workers/        # Cloudflare Workers ソース (file-upload)

設定

管理画面は admin/config.json から実行時設定を読み込む。このファイルは frelio init で自動生成され、管理画面の「基本設定」ページ (/general-settings) からも編集できる。

| フィールド | 説明 | |-----------|------| | contentRepo | コンテンツリポジトリ (owner/repo) — 読み取り専用 | | githubClientId | GitHub OAuth App の Client ID — 読み取り専用 | | siteTitle | サイトタイトル(管理画面に表示) | | productionUrl | 本番サイトの URL | | previewUrl | ステージングプレビューの URL | | fileUploadUrl | ファイルアップロード API のパス | | pagesProjectName | Cloudflare Pages プロジェクト名(本番) | | adminPagesProjectName | Cloudflare Pages プロジェクト名(管理画面) | | r2BucketName | R2 バケット名 | | r2PublicUrl | R2 ファイル公開 URL | | allowedOrigins | CORS 許可オリジン |


技術スタック

| カテゴリ | 技術 | |---------|------| | UI フレームワーク | React 19 | | ビルドツール | Vite | | UI コンポーネント | MUI (Material UI) v6 | | ルーティング | TanStack Router | | サーバー状態管理 | TanStack Query | | クライアント状態管理 | Zustand | | フォーム | React Hook Form + Zod | | エディタ | Monaco Editor | | ホスティング | Cloudflare Pages | | ファイルストレージ | Cloudflare R2 | | 認証 | GitHub OAuth | | データストア | GitHub API |


ライセンス

MIT