{"id":22663200,"url":"https://github.com/ehamiter/rockwell","last_synced_at":"2025-08-27T15:09:25.223Z","repository":{"id":265799151,"uuid":"896659294","full_name":"ehamiter/rockwell","owner":"ehamiter","description":"I always feel like somebody's watchin' me (Hee-hee-hee)","archived":false,"fork":false,"pushed_at":"2024-12-01T02:23:43.000Z","size":33,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T09:14:00.748Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ehamiter.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":"2024-12-01T00:27:26.000Z","updated_at":"2024-12-01T02:23:47.000Z","dependencies_parsed_at":"2024-12-03T09:15:14.795Z","dependency_job_id":null,"html_url":"https://github.com/ehamiter/rockwell","commit_stats":null,"previous_names":["ehamiter/rockwell"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ehamiter/rockwell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehamiter%2Frockwell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehamiter%2Frockwell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehamiter%2Frockwell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehamiter%2Frockwell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ehamiter","download_url":"https://codeload.github.com/ehamiter/rockwell/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehamiter%2Frockwell/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272342833,"owners_count":24917710,"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","status":"online","status_checked_at":"2025-08-27T02:00:09.397Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-12-09T12:17:39.457Z","updated_at":"2025-08-27T15:09:25.162Z","avatar_url":"https://github.com/ehamiter.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rockwell 👀\n\u003e I always feel like somebody's watchin' me (Hee-hee-hee)\n\nA website monitoring service that watches for changes in web pages and notifies you via email when they change. Named after Rockwell's 1984 hit song \"Somebody's Watching Me\" 🎵\n\n## Features\n\n- Monitor any number of websites\n- Configurable check frequency per website (e.g., every 30 minutes, hourly, daily)\n- Email notifications when changes are detected\n- SQLite database for storing website hashes and change history\n- RESTful API for managing monitored websites\n\n## Setup\n\n1. Clone the repository:\n```bash\ngit clone git@github.com:ehamiter/rockwell.git\ncd rockwell\n```\n\n2. Install dependencies:\n```bash\nnpm install\n```\n\n3. Create a `rockwell.env` file with your email settings:\n```bash\nEMAIL_FROM=your-email@gmail.com\nEMAIL_TO=your-email@gmail.com\nEMAIL_APP_PASSWORD=\"your app password\"\n```\n\n4. Set up as a systemd service (optional, for running as a daemon):\n```bash\nsudo nano /etc/systemd/system/rockwell.service\n```\n\nAdd this content (adjust paths as needed):\n```ini\n[Unit]\nDescription=Rockwell Website Monitor\nAfter=network.target\n\n[Service]\nType=simple\nUser=your-username\nWorkingDirectory=/path/to/rockwell\nEnvironmentFile=/path/to/rockwell/rockwell.env\nEnvironment=NODE_ENV=production\nExecStart=/path/to/.nvm/versions/node/v22.11.0/bin/node src/index.js\nRestart=always\nRestartSec=10\n\n[Install]\nWantedBy=multi-user.target\n```\n\nThen enable and start the service:\n```bash\nsudo systemctl enable rockwell.service\nsudo systemctl start rockwell.service\n```\n\n## API Usage\n\n### Add a website to monitor\n```bash\ncurl -X POST http://localhost:3000/websites \\\n-H \"Content-Type: application/json\" \\\n-d '{\"url\": \"https://example.com\", \"checkFrequency\": 1}'\n```\n\n### List monitored websites\n```bash\ncurl http://localhost:3000/websites\n```\n\n### View changes\n```bash\ncurl http://localhost:3000/changes\n```\n\n### Update check frequency\n```bash\nsqlite3 monitor.db\nUPDATE websites SET check_frequency = 0.5 WHERE url LIKE '%example.com%';\n.exit\n```\n\n### View logs\n```bash\nsudo journalctl -u rockwell.service -f\n```\n\n## How it Works\n\nRockwell fetches each monitored webpage at its configured interval, generates a hash of the content, and compares it with the previously stored hash. If they differ, it:\n\n1. Records the change in the database\n2. Sends an email notification\n3. Updates the stored hash\n\nThe check frequency is configurable per website (e.g., 0.5 for every 30 minutes, 1 for hourly, 24 for daily).\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fehamiter%2Frockwell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fehamiter%2Frockwell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fehamiter%2Frockwell/lists"}