{"id":39862478,"url":"https://github.com/imtrt004/apa-citation","last_synced_at":"2026-01-18T14:02:18.045Z","repository":{"id":328014438,"uuid":"1113939099","full_name":"imtrt004/apa-citation","owner":"imtrt004","description":"APA 7th Edition Reference Generator Semantic Scholar + Crossref Powered • Modern UI • GitHub Pages / Cloudflare Pages Ready  A clean, fast, and accurate APA 7th edition reference generator that combines:  ⚡ Semantic Scholar Academic Graph API ⚡ Crossref Metadata API","archived":false,"fork":false,"pushed_at":"2025-12-10T23:47:56.000Z","size":310,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-11T04:18:45.178Z","etag":null,"topics":["7th","akon","apa","apa-7th-edition","apa-style","citation","edition","md-tusar-akon","referencing","tusar"],"latest_commit_sha":null,"homepage":"https://imtrt004.github.io/apa-citation/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imtrt004.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":"2025-12-10T17:12:33.000Z","updated_at":"2025-12-10T23:48:00.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/imtrt004/apa-citation","commit_stats":null,"previous_names":["imtrt004/apa-citation"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/imtrt004/apa-citation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imtrt004%2Fapa-citation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imtrt004%2Fapa-citation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imtrt004%2Fapa-citation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imtrt004%2Fapa-citation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imtrt004","download_url":"https://codeload.github.com/imtrt004/apa-citation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imtrt004%2Fapa-citation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28537485,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T13:04:05.990Z","status":"ssl_error","status_checked_at":"2026-01-18T13:01:44.092Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["7th","akon","apa","apa-7th-edition","apa-style","citation","edition","md-tusar-akon","referencing","tusar"],"created_at":"2026-01-18T14:02:17.185Z","updated_at":"2026-01-18T14:02:18.035Z","avatar_url":"https://github.com/imtrt004.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📚 APA 7th Edition Reference Generator\n\n**Semantic Scholar + Crossref Powered • Modern UI • GitHub Pages / Cloudflare Pages Ready**\n\nA clean, fast, and accurate APA 7th edition reference generator that combines:\n\n* ⚡ **Semantic Scholar Academic Graph API**\n* ⚡ **Crossref Metadata API**\n* ⚡ **Your Cloudflare Worker** (to merge and purify data)\n\nDesigned to produce **fully authenticated, APA-correct citations**, including hanging indents, sentence-case titles, accurate author formatting, and complete journal metadata (volume, issue, pages).\n\n---\n\n## ✨ Features\n\n### 🔹 **1. Manual APA Reference Builder**\n\n* Build APA 7 references by entering:\n\n  * Authors\n  * Year\n  * Title\n  * Journal/book/site\n  * Volume, issue, pages\n  * DOI/URL\n* Auto-formatted with hanging‐indent.\n* One-click **Copy to Clipboard**.\n\n---\n\n### 🔹 **2. DOI Lookup (Crossref + Semantic Scholar Merged)**\n\nWhen a user pastes a DOI:\n\n1. The frontend sends it to your Cloudflare Worker.\n2. The worker fetches **Crossref** metadata (precise journal info).\n3. Also fetches **Semantic Scholar** metadata (URLs, IDs, fallback info).\n4. Merges both into a **canonical paper object**.\n5. Returns one clean result to the frontend.\n\nThis ensures:\n\n* Correct **volume**, **issue**, **pages** (Crossref)\n* Accurate **title**, **authors**, **year**\n* Stable **DOI → URL form**\n* APA-7 compliant **author formatting**\n\n---\n\n### 🔹 **3. Keyword Search (Semantic Scholar)**\n\n* Query by keywords, title, or author.\n* Displays matching papers.\n* Click → auto-generate APA reference.\n\n---\n\n### 🔹 **4. Beautiful, Modern UI**\n\n* Fully responsive\n* Dark, elegant gradients\n* Rounded cards\n* Professional typography\n* Smooth user experience\n\n---\n\n## 🏗️ Tech Stack\n\n### **Frontend**\n\n* HTML\n* CSS (custom modern design)\n* JavaScript (modular `app.js`)\n* Hanging-indents via pure CSS\n\n### **Backend (Proxy Layer)**\n\n* **Cloudflare Worker** for:\n\n  * CORS-free API access\n  * Semantic Scholar request signing\n  * Crossref calls\n  * Data merging \u0026 normalization\n\n### **External APIs**\n\n| API                                 | Purpose                                                            |\n| ----------------------------------- | ------------------------------------------------------------------ |\n| **Semantic Scholar Academic Graph** | High-quality paper metadata, authors, links                        |\n| **Crossref REST API**               | Reliable journal metadata (volume, issue, pages, publication date) |\n\n---\n\n## 📂 Project Structure\n\n```\n/\n├── index.html       # Main UI\n├── styles.css       # Full UI styling\n├── app.js           # All logic: APA generator, DOI search, S2 search\n└── README.md        # This file\n```\n\n## 📝 APA Formatting Rules Implemented\n\n### ✔ Sentence case title conversion\n\n`The Title Of The Paper` → `The title of the paper`\n\n### ✔ APA 7 author logic\n\n* 1 author → `Smith, J.`\n* 2 authors → `Smith, J., \u0026 Doe, M.`\n* Up to 20 authors → list all\n* 21+ authors → first 19 + `…` + last\n\n### ✔ Hanging indent (true APA structure)\n\nRendered in the browser exactly like a references page.\n\n### ✔ Publisher / container rules based on source type:\n\n* Journal\n* Book\n* Edited chapter\n* Webpage\n* Generic fallback\n\n---\n\n## 📸 Screenshots\n\n*(later)*\n\n```\n\n```\n\n---\n\n## 💡 Roadmap / Possible Future Improvements\n\n* Add **BibTeX / RIS export**\n* Add **Chrome extension** for “Cite this page”\n* Auto-detect APA metadata from webpage content\n* Add **editable reference list** with PDF export\n* AI-based **citation fixer** (GPT-assisted)\n\n---\n\n## 🤝 Contributions\n\nPull requests and suggestions are always welcome.\nIf you find unexpected metadata issues, feel free to open an issue — Crossref vs Semantic Scholar discrepancies are common, and we can improve merge logic together.\n\n---\n\n## 🧑‍💻 Author\n\nDeveloped by **Md Tusar Akon**\nColorado State University\nDepartment of Design \u0026 Merchandising\n\n---\n\n## ⭐ If you find this useful, give the repo a star!\n\n---\n\nIf you want a **light version**, a **more playful version**, or documentation for **students using the tool**, I can generate those too.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimtrt004%2Fapa-citation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimtrt004%2Fapa-citation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimtrt004%2Fapa-citation/lists"}