{"id":23816125,"url":"https://github.com/andrewn6/p","last_synced_at":"2026-04-01T23:43:17.187Z","repository":{"id":168085406,"uuid":"641665166","full_name":"andrewn6/p","owner":"andrewn6","description":"scrapes a pptx or pdf file and summarizes it","archived":false,"fork":false,"pushed_at":"2023-06-11T19:41:36.000Z","size":423,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-13T05:13:35.430Z","etag":null,"topics":["ml"],"latest_commit_sha":null,"homepage":"https://pdf.nijmeh.world","language":"Svelte","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andrewn6.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-05-16T23:12:30.000Z","updated_at":"2023-06-09T16:43:31.000Z","dependencies_parsed_at":"2024-04-21T18:27:06.196Z","dependency_job_id":null,"html_url":"https://github.com/andrewn6/p","commit_stats":null,"previous_names":["anddddrew/p","0xacn/p","andrewhummus/p","andrewn6/p"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andrewn6/p","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewn6%2Fp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewn6%2Fp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewn6%2Fp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewn6%2Fp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewn6","download_url":"https://codeload.github.com/andrewn6/p/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewn6%2Fp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31013964,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-27T02:58:54.984Z","status":"ssl_error","status_checked_at":"2026-03-27T02:58:46.993Z","response_time":164,"last_error":"SSL_read: 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":["ml"],"created_at":"2025-01-02T04:28:59.903Z","updated_at":"2026-03-27T03:15:34.167Z","avatar_url":"https://github.com/andrewn6.png","language":"Svelte","funding_links":[],"categories":[],"sub_categories":[],"readme":"# p\n\nsmall tool that takes a PDF file, summarizes it\n\nmade this because some of my classes can have super long power points that I don't really wanna go through, and i like automating things.\n\nhosted on p.nijmeh.world if you wanna try it out! (soon)\n\n## tech\n- python for backend\n- svelte for the UI\n- spaCy for NLP\n\n## folder breakdown\n- `kibbeh` sanic API, has endpoints to summarize/get files\n- `falafel` svelte frontend for `kibbeh`'s functionality\n\n## api design\n\n### `POST /summarize`\n\nappend a PDF/PPTX file to FormData under the field `file`\n\nreturns \n```jsonc\n{ id: \"[id]\" }\n```\n... which you can then use to fetch the completed summarization from `/summarization/[id]`\n\nexample using curl\n```\ncurl -X POST -F \"file=@test.pdf\" http://localhost:8080/upload\n```\n\n### `GET /summarization/[id]`\n\nget a summarization. returns:\n```jsonc\n{\n    \"text\": \"text\",         // bla bla bla\n    \"name\": \"filename\",     // the original filename\n    \"ext\": \"pptx\",          // the original extension\n    \"date\": 1686509446940   // when the summarization was completed\n}\n```\n\nexample using curl\n```\ncurl -0 -J -L http://localhost:8080/summarization/9a973399-deb1-4ec2-b536-83e03f527411`\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewn6%2Fp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewn6%2Fp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewn6%2Fp/lists"}