{"id":21760821,"url":"https://github.com/shivamswarnkar/ourblogs","last_synced_at":"2026-05-11T09:21:44.365Z","repository":{"id":40377219,"uuid":"197225636","full_name":"shivamswarnkar/ourblogs","owner":"shivamswarnkar","description":"A light weight flask blogging web app for sharing common interests.","archived":false,"fork":false,"pushed_at":"2023-05-01T21:14:11.000Z","size":138,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-26T01:16:09.836Z","etag":null,"topics":["blogging-site","flask","flask-bcrypt","flask-login","flask-mail","flask-wtf","python","sqlalchemy","webapp"],"latest_commit_sha":null,"homepage":"https://ourblogs.herokuapp.com","language":"HTML","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/shivamswarnkar.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":"2019-07-16T16:00:58.000Z","updated_at":"2022-05-12T00:11:05.000Z","dependencies_parsed_at":"2023-02-17T15:25:22.673Z","dependency_job_id":null,"html_url":"https://github.com/shivamswarnkar/ourblogs","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/shivamswarnkar%2Fourblogs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivamswarnkar%2Fourblogs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivamswarnkar%2Fourblogs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivamswarnkar%2Fourblogs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shivamswarnkar","download_url":"https://codeload.github.com/shivamswarnkar/ourblogs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244735358,"owners_count":20501239,"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":["blogging-site","flask","flask-bcrypt","flask-login","flask-mail","flask-wtf","python","sqlalchemy","webapp"],"created_at":"2024-11-26T11:45:38.658Z","updated_at":"2026-05-11T09:21:44.336Z","avatar_url":"https://github.com/shivamswarnkar.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OurBlogs \nA light weight blogging app for sharing common knowledge and interests. [Sign Up Here](https://ourblogs.herokuapp.com)\n### About\n OurBlogs is a flask powered webapp which allows users to create/update account, add/update/delete posts and share. It uses Flask-Login for handling user sessions along with Flask-Bcrypt for secure token generation. User can also request password reseting through email verification (implemented using Flask-Mail). \n \n### How to Run locally\nFirst clone this repo \u0026 install all the dependencies.\n```\n$ git clone https://github.com/shivamswarnkar/ourblogs.git\n$ cd ourblogs\n$ pip install -r requirements.txt\n```\nOnce everything is installed successfully, you should follow one of the following methods. \n\n**First Method (setup environment variables)** \nYou need to add following env variables. You can generate new SECRET_KEY using python's secrets.token_hex(16)\n\n- SECRET_KEY\n- SQLALCHEMY_DATABASE_URI \n- MAIL_USERNAME\n- MAIL_PASSWORD\n\n***Recommendations***: set SQLALCHEMY_DATABASE_URI='sqlite:///site.db'\n\n**Second Method (edit flaskblog/config.py)** \nFirst use python's secrets module to generate a SECRET_KEY\n```\n\u003e\u003e\u003e import secrets\n\u003e\u003e\u003e token = secrets.token_hex(16)\n```\nNow set following vars in flaskblog/config.py\nIf you want to use mail services then enter your correct informations for mail username and password.\n```\nSECRET_KEY = token #generated in previous step\nSQLALCHEMY_DATABASE_URI = 'sqlite:///site.db'\nMAIL_USERNAME = 'email@address.com' \nMAIL_PASSWORD = 'YOUR_EMAIL_PASSWORD' \n```\n\nNow simply run following\n```\n$ python run.py\n```\nYour local server should be running. By default server not run on debug mode and use host=0.0.0.0 (in other words, it'll be visible on your private network. Edit routes and templates however you want.\n\n***Note: Procfile is for Heroku deployment.***\n\n### Dependencies\n\n- bcrypt==3.1.7\n- blinker==1.4\n- cffi==1.12.3\n- Click==7.0\n- Flask==1.1.1\n- Flask-Bcrypt==0.7.1\n- Flask-Login==0.4.1\n- Flask-Mail==0.9.1\n- Flask-SQLAlchemy==2.4.0\n- Flask-WTF==0.14.2\n- gunicorn==19.9.0\n- itsdangerous==1.1.0\n- Jinja2==2.10.1\n- MarkupSafe==1.1.1\n- Pillow==6.1.0\n- pycparser==2.19\n- six==1.12.0\n- SQLAlchemy==1.3.5\n- Werkzeug==0.15.4\n- WTForms==2.2.1","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivamswarnkar%2Fourblogs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshivamswarnkar%2Fourblogs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivamswarnkar%2Fourblogs/lists"}