{"id":18519713,"url":"https://github.com/fedebotu/ai-server-motd","last_synced_at":"2025-10-31T22:30:28.488Z","repository":{"id":160967479,"uuid":"635390500","full_name":"fedebotu/ai-server-motd","owner":"fedebotu","description":"Show your AI/Deep Learning server Message Of The Day (MOTD)  in a nice format, including GPU utilization","archived":false,"fork":false,"pushed_at":"2024-01-23T06:36:56.000Z","size":30,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-25T23:24:32.126Z","etag":null,"topics":["ai","deep-learning","motd","motd-login-banner","motd-message","server"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/fedebotu.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,"publiccode":null,"codemeta":null}},"created_at":"2023-05-02T15:37:00.000Z","updated_at":"2023-07-18T09:27:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"c7f2b83d-adfa-4517-93a7-26c74759455d","html_url":"https://github.com/fedebotu/ai-server-motd","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/fedebotu%2Fai-server-motd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedebotu%2Fai-server-motd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedebotu%2Fai-server-motd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedebotu%2Fai-server-motd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fedebotu","download_url":"https://codeload.github.com/fedebotu/ai-server-motd/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239236659,"owners_count":19604912,"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":["ai","deep-learning","motd","motd-login-banner","motd-message","server"],"created_at":"2024-11-06T17:17:09.597Z","updated_at":"2025-10-31T22:30:28.420Z","avatar_url":"https://github.com/fedebotu.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI Server MOTD (Message Of The Day)\n\nShow information about your AI/Deep Learning server in a nice format, including GPU utilization and VRAM usage 🚀\n\n![235893377-a332234a-230b-42dd-aede-dd9f78018898 (2)](https://user-images.githubusercontent.com/48984123/235893948-2b259590-0a6d-49bb-9c7a-c2fb126e00f3.png)\n\n## Installation\n\nClone the repository and cd into it\n```bash\ngit clone https://github.com/fedebotu/ai-server-motd.git \u0026\u0026 cd ai-server-motd\n```\n### Displaying\n\nTo display on login via SSH, copy the messages you want in `/etc/update-motd.d`.\nFor example, if you want to use `30-nvidia`:\n\n```bash\nsudo cp 30-nvidia /etc/update-motd.d/\n```\n\nThe messages will be displayed in alphabetical order (eg. 10-*, 20-*...). \n\n### Testing\nYou may test if you MOTD (the dynamic part) works with\n```bash\nrun-parts /etc/update-motd.d/\n```\nIf some parts do not show, check if the permissions are set to 755 (`chmod 755 [FILE]`)\n\n### Bugfix\nIf there is no display, you may check the following answer from [Stackoverflow](https://askubuntu.com/questions/1394600/motd-not-showing-up-on-ubuntu-21-10):\n\u003e The file in `/etc/ssh/sshd_config` needed to be set this line `UsePAM yes`. That allowed the interactive login to trigger the file `/etc/pam.d/sshd` that contained `session    optional     pam_motd.so  motd=/run/motd.dynamic` to run, which in turn ran the files in `/etc/update-motd.d/` to trigger my MOTD when I login.\n\nAlso, there may be no display in case of errors. Make sure to test as described above.\n\n### Extra\n\nTo use the `10-hostname-color`, you may run the following on a Ubuntu server:\n```bash\nsudo apt-get install update-motd\nsudo apt-get install -y figlet\nsudo apt-get install lolcat\n```\nAlternatively install `sudo snap install lolcat-c` - note that you need `snap` install with you can install with `sudo apt install snap`.\n\n## Credits\nhttps://github.com/yboetz/motd\nhttps://github.com/bcyran/fancy-motd\n... and ChatGPT ofc\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffedebotu%2Fai-server-motd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffedebotu%2Fai-server-motd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffedebotu%2Fai-server-motd/lists"}