CleanFrame
삼성 The Frame용 개인 홈 화면, 포크와 맞춤을 위한 시작점
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기Frontend with vector-based similarity search for finding courses and events.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
README 전문 보기 ↗A web application that uses vector-based similarity search to find courses and events that best match a user's provided description. This application uses Next.js, MongoDB Atlas, LangChain, and OpenAI embeddings.
This is a Next.js project bootstrapped with create-next-app.
Copy the env.sample file to .env.local and fill in your MongoDB Atlas connection string and OpenAI API key:
cp env.sample .env.local
Then edit .env.local with your actual credentials:
MONGODB_URI=mongodb+srv://<username>:<password>@<cluster>.mongodb.net/<database>?retryWrites=true&w=majority
OPENAI_API_KEY=your_openai_api_key_here
EVENT_VECTOR_SEARCH_INDEX_NAME=event_vector_index
COURSE_VECTOR_SEARCH_INDEX_NAME=course_vector_index
Create a MongoDB Atlas cluster if you don't have one already
Create a database with the following collections:
events and event_embeddings for event datacourses for course data (includes embedded vectors)Set up vector search indexes with the following configurations:
For Events:
event_vector_index (or whatever you specified in EVENT_VECTOR_SEARCH_INDEX_NAME)event_embeddingsembeddingFor Courses:
course_vector_index (or whatever you specified in COURSE_VECTOR_SEARCH_INDEX_NAME)coursesembeddingInstall the dependencies:
npm install
To populate the database with sample content and generate embeddings:
For Events:
npx ts-node src/scripts/seed-events.ts
For Courses:
npx ts-node src/scripts/seed-courses.ts
To test without touching production, run a local MongoDB with Atlas Vector Search in Docker (docker-compose-local.yml, uses the mongodb/mongodb-atlas-local image).
First, point .env.local at the local database (not your Atlas/production URI):
MONGODB_URI=mongodb://localhost:27018/event-matcher?directConnection=true
Then:
npm run db:up # start the local database (host port 27018, override with MONGODB_LOCAL_PORT)
npm run db:init # create collections and vector search indexes (first time only)
npm run seed # seed local data
npm run db:down # stop (data persists); `npm run db:reset` also deletes the data
The seed scripts delete existing data, so they refuse to run unless MONGODB_URI points to a local host. Set ALLOW_REMOTE_DB=true to override this deliberately.
npm run dev
Open http://localhost:3000 with your browser to see the application.