{"id":17928313,"url":"https://github.com/buffermet/epoxy","last_synced_at":"2025-04-03T11:15:46.954Z","repository":{"id":57508801,"uuid":"149769818","full_name":"buffermet/epoxy","owner":"buffermet","description":"Recursive data URL generator","archived":false,"fork":false,"pushed_at":"2025-02-05T21:59:23.000Z","size":3841,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-05T22:42:06.127Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buffermet.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}},"created_at":"2018-09-21T13:49:14.000Z","updated_at":"2025-02-05T21:59:27.000Z","dependencies_parsed_at":"2024-06-21T18:07:53.643Z","dependency_job_id":null,"html_url":"https://github.com/buffermet/epoxy","commit_stats":null,"previous_names":["yungtravla/epoxy"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buffermet%2Fepoxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buffermet%2Fepoxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buffermet%2Fepoxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buffermet%2Fepoxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buffermet","download_url":"https://codeload.github.com/buffermet/epoxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246989753,"owners_count":20865331,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-28T21:02:06.108Z","updated_at":"2025-04-03T11:15:46.932Z","avatar_url":"https://github.com/buffermet.png","language":"Go","readme":"Asynchronous and recursive data URL generator/embedder for single files or web pages.\n\n# Installation\n\n```\n$ go install github.com/buffermet/epoxy\n```\n\n# Usage\n\nFirst grab the source of a web page and save it locally.\n\n```\n$ curl https://twitter.com/ \u003e twitter-index.html\n```\n\nNow you can use epoxy to fetch every resource in the web page and embed them into the source file.\n\n```\n$ epoxy -source twitter-index.html -origin https://twitter.com/ -recurse 3 -no-html\n```\n\nYou can set the recursion limit with `-recurse` to choose how many nested resources should be embedded as data URLs for every resource.\n\n![screenshot from 2018-12-23 18-58-11](https://user-images.githubusercontent.com/29265684/50382162-ed984400-06e4-11e9-813d-b0a4c8b64a16.png)\n\nIf you want to turn a single file into a data URL, set the recursion to 0 and epoxy will generate a data URL for the `-source` file contents.\n\n```\n$ epoxy -source twitter-index.html -recurse 0\n```\n\n# Options\n\n```\n  -print          print payload to stdout.\n\n  -source PATH    path to source file.\n  -origin URL     full URL to source file.\n\n  -recurse INT    limit of recursions for resource embedding (default=1).\n  -cores INT      limit of procs for async parsing (default=4).\n\n  -no-unknown     don't embed unknown filetypes.\n  -no-svg         don't embed svg files.\n  -no-jpg         don't embed jpg files.\n  -no-png         don't embed png files.\n  -no-gif         don't embed gif files.\n  -no-webp        don't embed webp files.\n  -no-cr2         don't embed cr2 files.\n  -no-tif         don't embed tif files.\n  -no-bmp         don't embed bmp files.\n  -no-jxr         don't embed jxr files.\n  -no-psd         don't embed psd files.\n  -no-ico         don't embed ico files.\n  -no-mp4         don't embed mp4 files.\n  -no-m4v         don't embed m4v files.\n  -no-mkv         don't embed mkv files.\n  -no-webm        don't embed webm files.\n  -no-mov         don't embed mov files.\n  -no-avi         don't embed avi files.\n  -no-wmv         don't embed wmv files.\n  -no-mpg         don't embed mpg files.\n  -no-flv         don't embed flv files.\n  -no-mid         don't embed mid files.\n  -no-mp3         don't embed mp3 files.\n  -no-m4a         don't embed m4a files.\n  -no-ogg         don't embed ogg files.\n  -no-flac        don't embed flac files.\n  -no-wav         don't embed wav files.\n  -no-amr         don't embed amr files.\n  -no-epub        don't embed epub files.\n  -no-zip         don't embed zip files.\n  -no-tar         don't embed tar files.\n  -no-rar         don't embed rar files.\n  -no-gz          don't embed gz files.\n  -no-bz2         don't embed bz2 files.\n  -no-7z          don't embed 7z files.\n  -no-xz          don't embed xz files.\n  -no-pdf         don't embed pdf files.\n  -no-exe         don't embed exe files.\n  -no-swf         don't embed swf files.\n  -no-rtf         don't embed rtf files.\n  -no-eot         don't embed eot files.\n  -no-ps          don't embed ps files.\n  -no-sqlite      don't embed sqlite files.\n  -no-nes         don't embed nes files.\n  -no-crx         don't embed crx files.\n  -no-cab         don't embed cab files.\n  -no-deb         don't embed deb files.\n  -no-ar          don't embed ar files.\n  -no-z           don't embed z files.\n  -no-lz          don't embed lz files.\n  -no-rpm         don't embed rpm files.\n  -no-elf         don't embed elf files.\n  -no-doc         don't embed doc files.\n  -no-docx        don't embed docx files.\n  -no-xls         don't embed xls files.\n  -no-xlsx        don't embed xlsx files.\n  -no-ppt         don't embed ppt files.\n  -no-pptx        don't embed pptx files.\n  -no-woff        don't embed woff files.\n  -no-woff2       don't embed woff2 files.\n  -no-ttf         don't embed ttf files.\n  -no-otf         don't embed otf files.\n  -no-css         don't embed css files.\n  -no-html        don't embed html files.\n  -no-js          don't embed js files.\n  -no-json        don't embed json files.\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuffermet%2Fepoxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuffermet%2Fepoxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuffermet%2Fepoxy/lists"}