Skip to content

Instantly share code, notes, and snippets.

View li-yifei's full-sized avatar

lyf li-yifei

  • Caelid
View GitHub Profile
@li-yifei
li-yifei / nowledge-mem-cloudflare-chatgpt-connector-SKILL.md
Last active April 20, 2026 13:35
CLI-first skill for Cloudflare MCP Portal + Tunnel + Access setup for nmem
name nowledge-mem-cloudflare-chatgpt-connector
description CLI-first skill for exposing a self-hosted Nowledge Mem MCP service behind a Cloudflare MCP Portal, Cloudflare Tunnel, and Cloudflare Access OAuth. Use this skill whenever the user wants the nmem API/MCP portal setup completed from an already-logged-in cf CLI session with a few guided prompts and minimal browser use, plus the concrete Cloudflare commands needed to build it.
version 1.0.0
metadata
hermes
tags
nowledge-mem
nmem
cloudflare
access
oauth
tunnel
chatgpt
connector
mcp

Nowledge Mem + Cloudflare Access + ChatGPT Connector

@li-yifei
li-yifei / config.yml
Last active November 13, 2023 01:00
EPGStation HEVC VAAPI エンコード
# ffmpeg 6.1 | hevc_vaapi | hevc_qsv | libfdk_aac
stream:
live:
ts:
m2tsll:
- name: hevc_qsv
cmd:
'%FFMPEG%
-dual_mono_mode main -f mpegts -analyzeduration 500000 -i pipe:0 -map 0 -c:s copy -c:d
copy -ignore_unknown -fflags nobuffer -flags low_delay -max_delay 250000 -max_interleave_delta 1
import * as fs from 'fs'
import * as readline from 'readline'
...
const readStream = fs.createReadStream('title.basics.tsv')
const rl = readline.createInterface({ input: readStream })
const client = new ApolloClient({
link: httpLink,