{"id":28385685,"url":"https://github.com/afrontend/dlserver","last_synced_at":"2026-05-01T02:34:15.073Z","repository":{"id":57213438,"uuid":"99485282","full_name":"afrontend/dlserver","owner":"afrontend","description":"도서관 책을 빌릴 수 있는지 알려주는 Web API","archived":false,"fork":false,"pushed_at":"2026-04-27T11:58:55.000Z","size":1397,"stargazers_count":0,"open_issues_count":8,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-01T02:34:08.542Z","etag":null,"topics":["dongnelibrary","node-js"],"latest_commit_sha":null,"homepage":"https://dongne.onrender.com/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/afrontend.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-08-06T12:35:27.000Z","updated_at":"2026-04-27T11:58:58.000Z","dependencies_parsed_at":"2025-06-26T06:31:09.701Z","dependency_job_id":"1d4e7192-6014-4a58-838d-d3b71329bb8f","html_url":"https://github.com/afrontend/dlserver","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/afrontend/dlserver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afrontend%2Fdlserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afrontend%2Fdlserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afrontend%2Fdlserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afrontend%2Fdlserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/afrontend","download_url":"https://codeload.github.com/afrontend/dlserver/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afrontend%2Fdlserver/sbom","scorecard":{"id":169988,"data":{"date":"2025-08-11","repo":{"name":"github.com/afrontend/dlserver","commit":"d257522c4383a226f16a655adc84083d8e0cb912"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"14 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-rv95-896h-c2vc","Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-16T16:10:28.463Z","repository_id":57213438,"created_at":"2025-08-16T16:10:28.463Z","updated_at":"2025-08-16T16:10:28.463Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32483406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dongnelibrary","node-js"],"created_at":"2025-05-30T11:14:42.400Z","updated_at":"2026-05-01T02:34:15.068Z","avatar_url":"https://github.com/afrontend.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DongneLibrary Web API\n\n도서관 책을 빌릴 수 있는지 알려주는 Web API 서비스\n\nA Korean library book availability checker that provides both a web interface and REST API to search for books across multiple libraries in the Seoul metropolitan area.\n\n## Features\n\n- 🔍 Search books across multiple Korean libraries (판교, 동탄, 성남, etc.)\n- 📚 Real-time availability checking\n- 🔗 Direct links to book detail pages\n- 🌐 Web UI and REST API endpoints\n- 🎨 Modern responsive interface using Tailwind CSS framework\n- 📱 Mobile-friendly design with touch-optimized controls\n- 🔎 Incremental library search filter\n- 📜 Search history with localStorage persistence\n- ⚛️ React 19 frontend with Vite\n\n## Technology Stack\n\n**Backend:**\n\n- Node.js (\u003e=22.22.0)\n- Express.js\n- dongnelibrary npm package\n\n**Frontend:**\n\n- React 19\n- Vite 7\n- Tailwind CSS\n\n## Install\n\n    git clone https://github.com/afrontend/dlserver.git\n    cd dlserver\n    npm install\n\n## Run\n\n    npm run build\n    npm run webapp\n\nServer will start on port 3000 (or use PORT environment variable to customize)\n\n## Environment Variables\n\n- `VITE_GA_ID`: Optional GA4 measurement ID for the Vite web app. Example: `G-XXXXXXXXXX`\n\nCopy `.env.example` to `.env` or set the variable in your deployment environment before building.\n\n**Development with hot reload:**\n\n    npm run webapp    # Terminal 1: Start Express server\n    npm run dev       # Terminal 2: Start Vite dev server with hot reload\n\n**Build for production:**\n\n    npm run build     # Outputs to dist/\n\nTo run the MCP server instead:\n\n    npm start\n\n## API Endpoints\n\n### 1. Web Interface\n\n```\nGET /\n```\n\nMain web application interface for searching books\n\n### 2. Search Books (HTML)\n\n```\nGET /:title/:libraryName\n```\n\nReturns formatted HTML with book availability markers (✓/✖)\n\n**Example:** `http://localhost:3000/javascript/판교`\n\n### 3. Search Books (JSON)\n\n```\nGET /search?title=\u003ctitle\u003e\u0026libraryName=\u003clibraryName\u003e\n```\n\nReturns JSON array of book objects with availability data\n\n**Example:** `http://localhost:3000/search?title=javascript\u0026libraryName=판교`\n\n### 4. Get Library List (JSON)\n\n```\nGET /libraryList\n```\n\nReturns JSON array of all library names\n\n## 로컬 서버에서 확인 (http://localhost:3000/)\n\n- [도서관 목록 읽기 (JSON)](http://localhost:3000/libraryList)\n- [책 검색 (HTML)](http://localhost:3000/javascript/판교)\n- [책 검색 (JSON)](http://localhost:3000/search?title=javascript\u0026libraryName=판교)\n\n## 서버에서 확인 (https://dongne.onrender.com/)\n\n- [도서관 목록 읽기 (JSON)](https://dongne.onrender.com/libraryList)\n- [책 검색 (HTML)](https://dongne.onrender.com/javascript/판교)\n- [책 검색 (JSON)](https://dongne.onrender.com/search?title=javascript\u0026libraryName=판교)\n\n## Usage Examples\n\n### Using the Web Interface\n\n1. Open http://localhost:3000/ in your browser\n2. Use the library search filter to find a specific library by typing part of its name\n3. Select a library from the dropdown (or select \"도서관을 선택하세요.\" to search all libraries)\n4. Enter a book title (recent searches appear in a dropdown when focusing the input)\n5. Click search to see availability across selected library/libraries\n\n### Using the API\n\n**Get all libraries:**\n\n```bash\ncurl http://localhost:3000/libraryList\n```\n\n**Search for a book:**\n\n```bash\ncurl \"http://localhost:3000/search?title=javascript\u0026libraryName=판교\"\n```\n\n**Response format:**\n\n```json\n[\n  {\n    \"title\": \"Book Title\",\n    \"exist\": true,\n    \"libraryName\": \"Library Name\",\n    \"bookUrl\": \"https://...\"\n  }\n]\n```\n\n## Architecture\n\n- **Backend (server.ts):** Express.js server with endpoints for book search, library list, and module list retrieval\n- **Frontend (src/):** React 19 application built with Vite, featuring search bar, library selector, and book list components\n- **Data Source:** Uses the `dongnelibrary` npm package for library API integration\n- **Styling:** Tailwind CSS framework for modern, responsive UI\n\n## MCP Server Support\n\nThis project includes MCP (Model Context Protocol) server implementations:\n\n- **mcp-server-STDIO.ts:** Standard input/output based MCP server\n- **mcp-server-SSE.ts:** Server-sent events based MCP server\n\nSee MCPSTDIO_README.md for more details on MCP server configuration.\n\n## Claude에서 MCP 서버 연결 방법\n\nClaude에서 원격 MCP 서버를 연결하여 사용할 수 있다.\n\nClaude 설정 \u003e 커넥터 \u003e 커스텀 커넥터 추가 \u003e 원격 MCP 서버 URL 입력\n\n## License\n\nMIT © [Bob Hwang](https://afrontend.github.io)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafrontend%2Fdlserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafrontend%2Fdlserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafrontend%2Fdlserver/lists"}