{"id":16842553,"url":"https://github.com/rofl0r/sdlbook","last_synced_at":"2025-03-22T05:31:09.985Z","repository":{"id":138311914,"uuid":"184970347","full_name":"rofl0r/SDLBook","owner":"rofl0r","description":"simple djvu/pdf ebook viewer based on djvulibre, libmupdf and SDL 1.2","archived":false,"fork":false,"pushed_at":"2024-11-26T18:26:33.000Z","size":113,"stargazers_count":22,"open_issues_count":3,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-18T08:48:07.708Z","etag":null,"topics":["c","djvu","ebook","lightweight","mupdf","sdl"],"latest_commit_sha":null,"homepage":"","language":"C","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/rofl0r.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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":"2019-05-05T02:50:57.000Z","updated_at":"2025-02-04T03:51:55.000Z","dependencies_parsed_at":"2024-10-28T12:25:34.857Z","dependency_job_id":"7a0d6069-5c3b-4d7f-9e5f-ff3ad9dd25bb","html_url":"https://github.com/rofl0r/SDLBook","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rofl0r%2FSDLBook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rofl0r%2FSDLBook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rofl0r%2FSDLBook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rofl0r%2FSDLBook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rofl0r","download_url":"https://codeload.github.com/rofl0r/SDLBook/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244912800,"owners_count":20530764,"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":["c","djvu","ebook","lightweight","mupdf","sdl"],"created_at":"2024-10-13T12:46:37.953Z","updated_at":"2025-03-22T05:31:07.957Z","avatar_url":"https://github.com/rofl0r.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"SDLBook - a tiny djvu/pdf eBook reader\n======================================\n\n## What?\n\nTiny eBook reader using only `SDL` or `SDL2`, `djvulibre`, and `libmupdf`.\n\n## Why?\n\nSince there are no djvu readers with reasonable dependency requirements\n(i.e. GTK+2, X11, SDL1 or 2, framebuffer) available, I decided to write\nmy own, by taking a firm glance at what djvulibre's `ddjvu` utility does\nand rendering to a video buffer instead of a file. I'm not interested in\ninstalling heavy-weight GUI toolkits such as QT4,5,GTK+3,4 etc just for\na simple eBook reader. Nor in installing python3 just to run someone's\nmeson build recipe.\n\nAs I dislike the interruptive page jumping of `mupdf-x11`, I've added\nmupdf support too so it can take advantage of the smooth page border\nscrolling mechanism of SDLBook. Therefore it now also supports all\nthe formats supported by mupdf, namely `pdf`, `epub`, `fb2`, `xps`,\n`openxps`, `cbz`, `cbr`.\n\n## How?\n\n- Install `SDL` and `djvulibre` libraries including development headers.\n- Compile using `gnu make` by running `make CFLAGS=-O2`.\n  if you want to use SDL2, run `make SDL2=1 CFLAGS=-O2` instead.\n- Install as root user by doing `make install prefix=/usr`.\n- Run like `sdlbook /path/to/file.djvu`\n- Press F1 to see available keyboard shortcuts\n- Have fun reading.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frofl0r%2Fsdlbook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frofl0r%2Fsdlbook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frofl0r%2Fsdlbook/lists"}