{"id":19731582,"url":"https://github.com/shunk031/django-twitter-notifier","last_synced_at":"2026-05-06T08:32:05.302Z","repository":{"id":79264422,"uuid":"124201352","full_name":"shunk031/django-twitter-notifier","owner":"shunk031","description":null,"archived":false,"fork":false,"pushed_at":"2019-05-04T15:59:44.000Z","size":26,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-05T05:30:25.431Z","etag":null,"topics":["django","slack","tweepy"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/shunk031.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":"2018-03-07T08:07:50.000Z","updated_at":"2019-05-04T15:59:46.000Z","dependencies_parsed_at":"2023-03-01T10:16:14.774Z","dependency_job_id":null,"html_url":"https://github.com/shunk031/django-twitter-notifier","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shunk031/django-twitter-notifier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shunk031%2Fdjango-twitter-notifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shunk031%2Fdjango-twitter-notifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shunk031%2Fdjango-twitter-notifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shunk031%2Fdjango-twitter-notifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shunk031","download_url":"https://codeload.github.com/shunk031/django-twitter-notifier/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shunk031%2Fdjango-twitter-notifier/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32684624,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T02:33:58.958Z","status":"ssl_error","status_checked_at":"2026-05-06T02:33:39.611Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["django","slack","tweepy"],"created_at":"2024-11-12T00:21:56.653Z","updated_at":"2026-05-06T08:32:05.284Z","avatar_url":"https://github.com/shunk031.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Django Twitter Notifier\n\n## Setup mysql\n\n- install mysql\n\n``` shell\n$ sudo apt-get update\n$ sudo apt-get install mysql-server\n$ sudo apt-get install libmysqlclient-dev\n```\n\n- add user to mysql\n\n``` shell\n$ sudo mysql\n```\n\n``` sql\n\u003e USE mysql;\n\u003e CREATE USER user1@localhost IDENTIFIED BY 'your password';\n\u003e SELECT user, host from user; # check\n```\n\n- create databases\n\n``` sql\n\u003e CREATE DATABASE twitternotifier CHARACTER SET utf8mb4;\n```\n\n- create tables\n\n``` sql\n\u003e USE twitternotifier;\nCREATE TABLE `twitter_favorites` (\n  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,\n  `tweet_id` varchar(255) UNIQUE,\n  `tweet` varchar(300) NOT NULL,\n  `user_id` varchar(255) NOT NULL,\n  `user_name` varchar(255) NOT NULL,\n  `user_screen_name` varchar(255) NOT NULL,\n  `created_at` datetime NOT NULL,\n  `updated_at` datetime NOT NULL,\n  `favorite_count` integer NOT NULL,\n  `retweet_count` integer NOT NULL,\n  `original_url` varchar(255) NOT NULL,\n  PRIMARY KEY (`id`) \n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='twitter favorite table';\n  \nCREATE TABLE `twitter_retweets` (\n  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,\n  `tweet_id` varchar(255) UNIQUE,\n  `tweet` varchar(300) NOT NULL,\n  `user_id` varchar(255) NOT NULL,\n  `user_name` varchar(255) NOT NULL,\n  `user_screen_name` varchar(255) NOT NULL,\n  `created_at` datetime NOT NULL,\n  `updated_at` datetime NOT NULL,\n  `favorite_count` integer NOT NULL,\n  `retweet_count` integer NOT NULL,\n  `original_url` varchar(255) NOT NULL,\n  PRIMARY KEY (`id`) \n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='twitter retweet table';\n```\n\n- grant users\n\n``` sql\n\u003e GRANT ALL PRIVILEGES ON twitternotifier.* TO 'user1'@'localhost' IDENTIFIED BY 'your password';\n```\n\n## Install requirements\n\n``` shell\n$ pip install -r requirements.txt\n```\n\n## Copy some setting files\n\n``` shell\n$ cp twitternotifier/static_settings.py.example twitternotifier/static_settings.py\n$ cp twitternotifier/database.py.example twitternotifier/database.py\n```\n\n## Setup django-jet dashboard\n\n``` shell\n$ python manage.py migrate\n$ python manage.py migrate jet\n$ python manage.py migrate dashboard\n```\n\n## Setup some apps\n\n``` shell\n$ python manage.py makemigrations favorites\n$ python manage.py makemigrations retweets\n```\n\n## Create user\n\n``` shell\n$ python manage.py createsuperuser\nUsername (leave blank to use 'xxx'):\nEmail address: (Enter)\nPassword: (Input password)\nPassword (again): (Input password again)\n```\n\n## Start server\n\n``` shell\n$ python manage.py runserver 0:8000\n```\n\n## Get favorites and retweets\n\n``` shell\n$ python manage.py gettweets\n```\n\n## Notify to slack\n\n``` shell\n$ python manage.py notifyslack\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshunk031%2Fdjango-twitter-notifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshunk031%2Fdjango-twitter-notifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshunk031%2Fdjango-twitter-notifier/lists"}