{"id":23899107,"url":"https://github.com/fif0o/twitterapp","last_synced_at":"2026-04-13T14:31:50.185Z","repository":{"id":140926520,"uuid":"84108681","full_name":"FiF0o/twitterapp","owner":"FiF0o","description":"🐧 app using twitter api built in javascript and using webpack to bundle files, bootstrap-sass is used front-end","archived":false,"fork":false,"pushed_at":"2017-04-20T23:08:08.000Z","size":195,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-14T14:12:34.035Z","etag":null,"topics":["es6","express","javascript","oauth2-flow","pug","twitter-api","webpack"],"latest_commit_sha":null,"homepage":"https://twitterfeedapp-lmhovpbcud.now.sh","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/FiF0o.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":"2017-03-06T18:50:31.000Z","updated_at":"2024-12-01T19:25:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"808bbbb5-37b6-4572-af3a-8bb3093d6717","html_url":"https://github.com/FiF0o/twitterapp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FiF0o/twitterapp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FiF0o%2Ftwitterapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FiF0o%2Ftwitterapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FiF0o%2Ftwitterapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FiF0o%2Ftwitterapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FiF0o","download_url":"https://codeload.github.com/FiF0o/twitterapp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FiF0o%2Ftwitterapp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31757477,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T13:27:56.013Z","status":"ssl_error","status_checked_at":"2026-04-13T13:21:23.512Z","response_time":93,"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":["es6","express","javascript","oauth2-flow","pug","twitter-api","webpack"],"created_at":"2025-01-04T18:15:56.605Z","updated_at":"2026-04-13T14:31:50.167Z","avatar_url":"https://github.com/FiF0o.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Twitter app\n\n##[Twitter feed app](https://twitterapp-kxtpaplvot.now.sh)\n\nStatic website using the Twitter API to return a tweet feed.\u003c/br\u003e\nWe are using `/search/tweets` twitter endpoint - [search/tweets endpoint](https://dev.twitter.com/rest/reference/get/search/tweets).\u003c/br\u003e\nApp runs on node port or `:8889`.\u003c/br\u003e\u003c/br\u003e\u003c/br\u003e\nStatic assets served on port `:8888` if needed.\u003c/br\u003e\n\nDev mode:\n\u003c/br\u003e\n```\nnpm run dev\n```\n\u003c/br\u003e\n\nThe app is bootstrapped with [create-react-app](https://github.com/facebookincubator/create-react-app).\u003c/br\u003e\n\n\n## Prerequisites\n\n### Routes\n- `/` route\n- `/tweets` route\n\n### API calls with OAuth2 flow.\u003c/br\u003e\n[OAUTH2 flow](https://dev.twitter.com/oauth/reference/post/oauth2/token). Bearer token needed - [Obtain a bearer token](https://dev.twitter.com/oauth/application-only) - to access Twitter API endpoints.\u003c/br\u003e\nProxy handling OAUTH and Twitter API request is running on node port or `:8889`.\u003c/br\u003e\n`npm run proxy` and its route is `/search/token`.\u003c/br\u003e\u003c/br\u003e\n\n### Want your own token to extend the app?\nRegister to the twitter API website.\u003c/br\u003e\ncreate a `token.js` file in the `config` dir exposing your App token `accessToken`, `consumerToken`, `consumerTokenSecret` and `accessTokenSecret` keys from your Twitter API:\u003c/br\u003e\n```\u003c/br\u003e\nmodule.exports = {\n    accessToken: \"\u003cYOUR_OWN_ACCESS_TOKEN\u003e\",\n    accessTokenSecret: \"\u003cYOUR_OWN_ACCESS_TOKEN_SECRET\u003e\",\n    consumerToken: \"\u003cYOUR_OWN_CONSUMER_TOKEN\u003e\",\n    consumerTokenSecret: \"\"\u003cYOUR_OWN_CONSUMER_TOKEN_SECRET\u003e\",\n}\n```\n\n\n## Scripts\n`npm run build` to bundle the app.\u003c/br\u003e\n`npm run dev` for development mode.\u003c/br\u003e\n`npm run lint` to lint your code.\u003c/br\u003e\n\n\n## Deploy\nDeployed with [now](https://zeit.co/docs/)\u003c/br\u003e\u003c/br\u003e\n`npm run deploy`, and make sure to add your now secret keys - `now secret add \u003cYOUR_4_KEYS\u003e` - before deploying.\u003c/br\u003e\nRun `now secret list` to show your secret variables - will be passed in your npm scripts as `@yourkey`.\n\n\n## Improvements\n- tests\n- pug js templates compiled on client side\n- switch builds scripts from `webpack` to `gulp`\n- user sessions\n\n### Notes\n#### Debug:\u003c/br\u003e\nIn dev mode `/test/controller` route is available to render a pug template serverside via DOM injection on clientside.\u003c/br\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffif0o%2Ftwitterapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffif0o%2Ftwitterapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffif0o%2Ftwitterapp/lists"}