{"id":18086439,"url":"https://github.com/michaeldim02/sxalert","last_synced_at":"2025-04-06T00:44:08.291Z","repository":{"id":205484339,"uuid":"714340007","full_name":"MichaelDim02/sxalert","owner":"MichaelDim02","description":"Simple X Alert","archived":false,"fork":false,"pushed_at":"2023-12-01T23:57:28.000Z","size":46,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-12T06:57:23.955Z","etag":null,"topics":["notifications","simple","x11"],"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/MichaelDim02.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":"2023-11-04T16:10:00.000Z","updated_at":"2024-10-29T18:46:40.000Z","dependencies_parsed_at":"2023-11-18T03:27:39.971Z","dependency_job_id":"c54fcf40-7cf7-41ef-a6f2-d18b59350185","html_url":"https://github.com/MichaelDim02/sxalert","commit_stats":null,"previous_names":["michaeldim02/sxalert"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MichaelDim02%2Fsxalert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MichaelDim02%2Fsxalert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MichaelDim02%2Fsxalert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MichaelDim02%2Fsxalert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MichaelDim02","download_url":"https://codeload.github.com/MichaelDim02/sxalert/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247419815,"owners_count":20936012,"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":["notifications","simple","x11"],"created_at":"2024-10-31T16:08:02.917Z","updated_at":"2025-04-06T00:44:08.268Z","avatar_url":"https://github.com/MichaelDim02.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple X Alert \n\u003cimg src=\"https://mcdim.xyz/projects/sxalert/alectryon.png\" alt=\"Alectryon rooster sxalert logo\" style=\"height: 222px; width:200px;\"/\u003e\n\nSimple notification system for X that works without a daemon. This is mainly for personal use, but I'll be glad to support whoever else wants to use it. Currently in development.\n\n## Features\n+ Alert \u0026 exit -- no daemon\n+ Freetype scalable fonts\n+ UTF-8 support\n+ Configurable \u0026 scriptable with shell\n+ Dynamic screen positioning \u0026 sizing\n\n## Dependencies\nTo build sxalert, you'll need a c99 compiler,  `make`, `Xlib` and `Xft`.\n\n## Build \u0026 install\nIn order to build, execute the following commands:\n```\n$ git clone https://github.com/MichaelDim02/sxalert.git \u0026\u0026 cd sxalert\n$ make sxalert\n```\nAnd to install on /bin:\n```\n$ sudo make install\n```\n\n## Usage\nYou can simply run the tool with each argument being a line of text\n```\n$ ./sxalert \"First line\" \"Second line\"\n```\nYou can also set color, border width \u0026 duration:\n```\n$ ./sxalert -d 1000 -b 5 -t FFFFFF -g 000000 -r FFFFFF \"First line\" \"Second line\"\n```\nThese will overwrite the defaults defined in `config.h`\n\n## TODOs:\n+ Read from stdin (perhaps as a patch)\n+ \u003cs\u003eExit by ButtonPress event\u003c/s\u003e\n\n## Optional D-Bus daemon hack\nI've created a small Shell script called [sxalertd](https://github.com/MichaelDim02/sxalertd) that can run as a daemon to read the D-Bus and use sxalert to draw the notifications. The script \u0026 parsing method are a little hacky but work quite well.\n\n## Credit\nThe logo is the Alectryon! The rooster image is by Leys, Thomson W. from the 1883 book \"Brett's colonists' guide and cyclopaedia\" for New Zealand settlers. The font is Byzantine, and the logo was created in GIMP.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaeldim02%2Fsxalert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichaeldim02%2Fsxalert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaeldim02%2Fsxalert/lists"}