{"id":17967593,"url":"https://github.com/simonprickett/timestamp-service","last_synced_at":"2026-05-03T18:33:50.112Z","repository":{"id":149219525,"uuid":"139767612","full_name":"simonprickett/timestamp-service","owner":"simonprickett","description":"Example Node.js systemd service for Raspberry Pi.","archived":false,"fork":false,"pushed_at":"2018-07-13T17:39:53.000Z","size":5,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-09T09:29:36.695Z","etag":null,"topics":["debian","debian-stretch","medium-article","node-js","nodejs","raspberry-pi","raspberry-pi-3","systemd","systemd-service"],"latest_commit_sha":null,"homepage":"https://simonprickett.dev/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simonprickett.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-07-04T21:33:03.000Z","updated_at":"2021-01-31T23:29:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"3a52da4d-e6f9-422d-912f-dfda6f7d0ef2","html_url":"https://github.com/simonprickett/timestamp-service","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/simonprickett%2Ftimestamp-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonprickett%2Ftimestamp-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonprickett%2Ftimestamp-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonprickett%2Ftimestamp-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonprickett","download_url":"https://codeload.github.com/simonprickett/timestamp-service/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247081587,"owners_count":20880456,"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":["debian","debian-stretch","medium-article","node-js","nodejs","raspberry-pi","raspberry-pi-3","systemd","systemd-service"],"created_at":"2024-10-29T14:09:08.576Z","updated_at":"2026-05-03T18:33:45.090Z","avatar_url":"https://github.com/simonprickett.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Timestamp Service\n\nThis is an example Node.js systemd service for Raspberry Pi.  This repository is used in a [Medium article](https://medium.com/@simon_prickett/writing-a-systemd-service-in-node-js-on-raspberry-pi-be88d9bc2e8d) that describes how to use systemd with Node.js on the Pi.\n\n## Usage\n\nClone the repo, `cd` to the folder containing the cloned files, then:\n\n```\nexport PORT=8888\nnpm start\n```\n\nBrowse to `http://127.0.0.1:8888` or `curl 127.0.0.1:8888` to see the current timestamp.\n\n## Installing systemd Service\n\nInstructions on how to install this as a systemd service using the `timestamp.service` file in this repo can be found in my [Medium article](https://medium.com/@simon_prickett/writing-a-systemd-service-in-node-js-on-raspberry-pi-be88d9bc2e8d).\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonprickett%2Ftimestamp-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonprickett%2Ftimestamp-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonprickett%2Ftimestamp-service/lists"}