{"id":28990522,"url":"https://github.com/raphgl/neosent","last_synced_at":"2025-06-25T00:11:55.703Z","repository":{"id":54182196,"uuid":"425966950","full_name":"RaphGL/NeoSent","owner":"RaphGL","description":"Suckful Sent ","archived":false,"fork":false,"pushed_at":"2024-10-16T15:49:07.000Z","size":455,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-18T15:06:26.868Z","etag":null,"topics":["presentation","sent","suckless"],"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/RaphGL.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":"2021-11-08T19:26:45.000Z","updated_at":"2024-10-16T15:49:10.000Z","dependencies_parsed_at":"2024-04-06T21:27:19.418Z","dependency_job_id":"a7d7dea0-7dfc-494e-9066-e343ebdacf91","html_url":"https://github.com/RaphGL/NeoSent","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/RaphGL/NeoSent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaphGL%2FNeoSent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaphGL%2FNeoSent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaphGL%2FNeoSent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaphGL%2FNeoSent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RaphGL","download_url":"https://codeload.github.com/RaphGL/NeoSent/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaphGL%2FNeoSent/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261777776,"owners_count":23208130,"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":["presentation","sent","suckless"],"created_at":"2025-06-25T00:11:47.179Z","updated_at":"2025-06-25T00:11:55.513Z","avatar_url":"https://github.com/RaphGL.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- PROJECT LOGO --\u003e\n\u003cbr /\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/RaphGL/NeoSent\"\u003e\n    \u003cimg src=\"logo.png\" alt=\"Logo\" height=\"80\"\u003e\n  \u003c/a\u003e\n\n  \u003ch3 align=\"center\"\u003eSuckful Sent\u003c/h3\u003e\n  \u003cp align=\"center\"\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/RaphGL/NeoSent\"\u003e\u003cstrong\u003eExplore the docs »\u003c/strong\u003e\u003c/a\u003e\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    ·\n    \u003ca href=\"https://github.com/RaphGL/NeoSent/issues\"\u003eReport Bug\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/RaphGL/NeoSent/issues\"\u003eRequest Feature\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n\u003c!-- TABLE OF CONTENTS --\u003e\n\u003cdetails open=\"open\"\u003e\n  \u003csummary\u003eTable of Contents\u003c/summary\u003e\n  \u003col\u003e\n    \u003cli\u003e\n      \u003ca href=\"#about-the-project\"\u003eAbout The Project\u003c/a\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003ca href=\"#built-with\"\u003eBuilt With\u003c/a\u003e\u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\n      \u003ca href=\"#getting-started\"\u003eGetting Started\u003c/a\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e\u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\n    \u003ca href=\"#usage\"\u003eUsage\u003c/a\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003ca href=\"#changing-font-and-colors\"\u003eChanging font and colors\u003c/a\u003e\u003c/li\u003e\n        \u003cli\u003e\u003ca href=\"#keybindings\"\u003eKeybindings\u003c/a\u003e\u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\u003c/li\u003e\n  \u003c/ol\u003e\n\u003c/details\u003e\n\n\u003c!-- ABOUT THE PROJECT --\u003e\n\nNeosent is a drop-in replacement for Suckless Sent.\n\nIt provides everything you need out of the box instead of relying on patches and editing header files.\n\n\u003ccenter\u003e\n\n| Features                          | Implemented |\n| --------------------------------- | :---------: |\n| PNG, JPG, AVIF                    |      ✅      |\n| Command-line options              |      ✅      |\n| Inverted colors and toggling them |      ✅      |\n| Progress bar                      |      ✅      |\n| Fullscreen mode                   |      ✅      |\n| PDF generation                    |      ❌      |\n\n\u003c/center\u003e\n\n### Built With\n\n- C\n- [SDL2](https://www.libsdl.org/)\n\n\u003c!-- GETTING STARTED --\u003e\n\n## Getting Started\n\nMake sure you have the SDL2, SDL2_ttf and SDL2_image libraries installed.\n\nOn Arch:\n\n```sh\nsudo pacman -S sdl2 sdl2_image sdl2_ttf\n```\n\n### Installation\n\n#### Manually\n1. Clone the project\n2. Run:\n\n```sh\n$ meson setup build\n$ cd build\n```\n\nAVIF images are also supported but they're hidden behind a flag for portability reasons. To enable run:\n```sh\n$ meson configure -Davif_image_support=true\n$ \n```\n\n```sh\n$ meson configure --buildtype=release\n$ meson compile\n```\n\n3. Move the `nsent` file to your `$PATH`.\n\n#### AUR\n```sh\nparu -S neosent-git\n```\n\n\u003c!-- USAGE EXAMPLES --\u003e\n\n## Usage\n\nNeoSent files usually have a `.ns` extension, but any (or no) extension is allowed as well.\n\n```sh\n$ nsent file.ns\n```\n\nSome attributes can be changed to fit the user's preference.\n\nThe syntax is very minimal, to learn it just see this example:\n\n```\nNeoSent\n\n@some_image.png\n\nIt depends on:\n- SDL2\n\nneosent [FILE]\none slide per paragraph\n# This is a comment and it won't appear in the presentation\n\n\\ # A backslash alone will create an empty slide\n\n# both of these will be shown instead of interpreted\n\\@FILE.png \n\\# Some comment?\n\nHaving problems? Make an issue!\n```\n\n### Changing font and colors\n\nAll changeable attributes are available through flags and environment variables. \nCheck `nsent -h` to know what flags are available. \nThe following environment variables are available: \n- `NS_FG_COLOR` - changes text color\n- `NS_BG_COLOR` - changes the background color\n- `NS_FONT` - changes the preferred font, if not found it will fallback to a system default\n\nFonts are matched to the system's. Just roughly name the font you want and neosent will fetch it. Fonts have to be installed on the system to work.\n\n```sh\nnsent -f \"JetbrainsMono\" presentation.ns\nnsent -f \"Ubuntu\" presentation.ns\n```\n\nColors are represented as RBG values. Passing them to the program:\n```sh\nnsent -t 0 -b \"#FFFFFF\" presentation.ns # black text and white background\nnsent -t \"#eb4034\" -b \"#0x2e22a1\" presentation.ns # red text and blue background\n```\n\n### Keybindings\n\n\u003ccenter\u003e\n\n| Previous page | Next page     |\n| ------------- | ------------- |\n| `Left Arrow`  | `Right Arrow` |\n| `Up Arrow`    | `Down Arrow`  |\n| `Page Up`     | `Page Down`   |\n| `Mouse Right` | `Mouse Right` |\n| `h`           | `l`           |\n| `k`           | `j`           |\n| `p`           | `n`           |\n\nMiscellaneous keybindings:\n\n| Function                  | Keybind        |\n| ------------------------- | -------------- |\n| Go to first and last page | `Home` \u0026 `End` |\n| Invert colors             | `i`            |\n| Go fullscreen             | `f` / `F11`    |\n| Quit                      | `q`            |\n\n\u003c/center\u003e\n\n\u003c!-- LICENSE --\u003e\n\n## License\n\nDistributed under GPLv3 License. See [`LICENSE`](https://github.com/RaphGL/NeoSent/blob/main/LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraphgl%2Fneosent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraphgl%2Fneosent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraphgl%2Fneosent/lists"}