{"id":21187576,"url":"https://github.com/pb82/senf","last_synced_at":"2025-03-14T20:23:04.931Z","repository":{"id":146898205,"uuid":"42173807","full_name":"pb82/Senf","owner":"pb82","description":"A minimalistic comment hosting service","archived":false,"fork":false,"pushed_at":"2022-01-21T21:23:35.000Z","size":255,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-21T13:08:27.874Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/pb82.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":"2015-09-09T11:11:33.000Z","updated_at":"2022-01-21T21:23:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"8128b6f8-cdfa-4f7a-9611-80a5f777297a","html_url":"https://github.com/pb82/Senf","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/pb82%2FSenf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pb82%2FSenf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pb82%2FSenf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pb82%2FSenf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pb82","download_url":"https://codeload.github.com/pb82/Senf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243640264,"owners_count":20323634,"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":[],"created_at":"2024-11-20T18:38:13.687Z","updated_at":"2025-03-14T20:23:04.909Z","avatar_url":"https://github.com/pb82.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Senf\n\nA minimalistic comment hosting service. Senf is a service that can store comments from different sources. The idea is\nsimilar to Disqus (https://disqus.com/) just way more barebones. But you can host it on your own hardware (or Heroku/Openshift).\nTo use Senf you include a tiny script on every article page. The script will render the existing comments and display a field to\nenter new comments. The Senf script requires jQuery.\n\n### Stack\n\n* Node.js\n* Express.js\n* Passport.js (for authentication)\n* EJS (for templates)\n* Sqlite and Sequelize (for storage)\n\n\n### How it works\n\nSenf lets you collect comments from as many domains as you like. On every article page you have to include the following\nscript and stylesheet:\n\n```html\n\u003clink href=\"https://\u003cSENF SERVER\u003e/widget/css/widget.css\" rel=\"stylesheet\"\u003e\n...\n\u003cscript src=\"https://\u003cSENF SERVER\u003e/widget/js/widget.js\"\u003e\u003c/script\u003e\n\u003cscript\u003e\n    new SenfWidget({\n        target: \"comments\",\n        server: \"https://\u003cSENF SERVER\u003e\",\n        user: \"\u003cEMAIL\u003e\"\n    });\n\u003c/script\u003e\n```\n\nPlease note that the Senf script requires jQuery to be present. The comment area will be rendered into a `div` element\nwith the `id` in the `target` property. It has to exist on the page. Users are identified by their email.\n\n### Installation\n\n1. Clone this repository\n2. Install dependencies: `npm install`.\n3. Run the tests with `npm test`\n4. Open `config.js` and modify it to your needs\n4. Start the server with `npm start`\n\n\n### Usage\n\n1. The default port is `3000`\n2. Point your browser to `localhost:3000` (or whatever port you have configured)\n3. The setup process will start and ask you to create an admin account\n4. After that you can log in and create domains\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpb82%2Fsenf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpb82%2Fsenf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpb82%2Fsenf/lists"}