Grimmer Kang's repositories
alphago-zero-tictactoe-js
A game framework based on AlphaZero/TensorFlow.js runs in browser to demonstrate tic-tac-toe AI game. Use a pre-trained model or train from scratch. Ported from suragnair/alpha-zero-general (Python)
search-github-starred
Full-Text Search the readme, description, homepage and URL of your GitHub starred repository. Use GitHub OAuth 2, React, Redux, Golang (server side), Elasticsearch, Redis.
p2pMessenger
This demo project uses a WebSocket signal server to exchange the IP information of every pair of iOS clients and constructs a P2P STUN channel to exchange text messages. STUN is a part of WebRTC.
vscode-back-forward-button
over 17000 installs !! Put these buttons on status bar, just like Atom Nuclide IDE package. Install: https://marketplace.visualstudio.com/items?itemName=grimmer.vscode-back-forward-button
dicom-web-viewer
This Chrome extension / Web views online or local medical DICOM P10 images. Features and Notes are in wiki.
grimmer0125.github.io
Grimmer's old blog, using mmistakes's Jekyll's theme. New: https://github.com/grimmer0125/gatsby-blog
gatsby-blog
Powered by Gatsby, Lumen & GraphQL. Customize Lumen and disable its catalog temporarily.
golden-layout-react-exp
Use https://github.com/grimmer0125/goldenlayout-react-portals which is better solution/example on React
langchainjs-test
Test callbacks parameter of LangChain.js to get the token usage. put OPENAI_API_KEY="" in .env and use VSCode launch to debug it. Completion models are supported but embedding models is not supported yet (even in Python LangChain)
nestjs-example
More integration example: https://github.com/grimmer0125/full-stack-example
node_test_profiler
Use v8 built-in profiler on Node.js
react-opentelemetry-jaeger-example
stalk-opentracing-js implements http-thrift protocol which is used in jaeger so it can send span data from browser to jaeger. Change USERNAME, PASSWORD, and SERVER_URL which should not contain "/api/traces" and the library will auto-append this. Test: 1. yarn start. 2. Use VSCode F5 to debug. Launch.json disable cors-check.
ts-json-schema
Use https://github.com/YousefED/typescript-json-schema 1. TypeScript -> Json Schema and 2. use ajv (master branch) / python jsonschema to import schema and invalidate json data.
typescript-full-stack-example
A full-stack example that integrates some famous stack: TypeScript, React Hooks, Redux Toolkit, GraphQL, NestJS, TypeORM, PostgreSQL, Passport.js, JWT, Traefik, Azure.
AI-tamago
A local-ready LLM-generated and LLM-driven virtual pet with thoughts and feelings. 100% Javascript.
fetch-event-stream
A tiny (736b) utility for Server Sent Event (SSE) streaming via `fetch` and Web Streams API
function-gpt
This is a typescript library that helps handle function calling with OpenAI's ChatGPT API.
lawtechhackson
2022台灣法律法遵科技黑客松https://hackathon.lawsnote.com/index.php/2022legaltechhackathon/, slide: https://docs.google.com/presentation/d/18FiTPSRTOPrXbdSMgwxuNCRBfCsSNW2_/edit#slide=id.p1. Use sentence-transformers.
llamaindex-try
random attempts in learning llamaindex
milvus_client_example
code is from https://github.com/milvus-io/milvus-sdk-node
nestjs-bullmq-example
add bull-board, test await job.waitUntilFinished (request-reply pattern) by reusing QueueEventsHost's queues & use bullmq bulit-in Queue/Job for BullMQ part (not anymore from bull). Use http://localhost:3001/start-bullmq to test. VS Code launch is added. Extract BullMQ code to a global NestJS module.
openai-function-calling-example
Based on https://cookbook.openai.com/examples/how_to_call_functions_with_chat_models & https://github.com/atinylittleshell/function-gpt, set OPENAI_API_KEY in .env and use VSCode launch to debug it
speech-tune
one script for xls-r/xlsr/whisper fine-tuning
ts-json-schema-generator
Generate JSON schema from your Typescript sources
ts-json-schema-generator-example
This is the study about https://github.com/vega/ts-json-schema-generator/issues/1472