Skip to content

feat: add static landing page and DeepSeek AI demo page - #1

Open
dannyling111 wants to merge 1 commit into
mainfrom
codex/create-static-content-webpage-and-integrate-deepseek-ai
Open

feat: add static landing page and DeepSeek AI demo page#1
dannyling111 wants to merge 1 commit into
mainfrom
codex/create-static-content-webpage-and-integrate-deepseek-ai

Conversation

@dannyling111

Copy link
Copy Markdown
Owner

Motivation

  • Provide a minimal static landing page and a simple front-end demo that shows how to call DeepSeek AI for local testing and demonstration purposes.

Description

  • Add index.html as a simple static content landing page with a link to the AI demo page.
  • Add deepseek.html which contains inputs for a DeepSeek API key and a prompt, a send button, a result display area, and a link back to the landing page.
  • Add deepseek.js which implements the front-end POST request to https://api.deepseek.com/chat/completions with input validation, request state handling, error handling, and result rendering.
  • Add styles.css with shared styles for layout, cards, inputs, buttons, and result formatting.

Testing

  • Ran a smoke check by attempting to byte-compile deepseek.js with python -m py_compile deepseek.js and no errors were reported.
  • Verified the presence and contents of index.html, deepseek.html, deepseek.js, and styles.css via automated shell commands.
  • There is no automated test framework in this repository, so no unit or integration tests were executed.

Codex Task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant