{"id":19151199,"url":"https://github.com/hendrapaiton/sinkron","last_synced_at":"2026-04-02T01:02:52.849Z","repository":{"id":41947455,"uuid":"276518647","full_name":"hendrapaiton/sinkron","owner":"hendrapaiton","description":"Django Celery Redis","archived":false,"fork":false,"pushed_at":"2023-05-09T22:15:44.000Z","size":256,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-03T14:33:29.542Z","etag":null,"topics":["asynchronous","bootstrap","celery","django","javascript","python","redis","tasks","windows"],"latest_commit_sha":null,"homepage":"","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/hendrapaiton.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":"2020-07-02T01:24:55.000Z","updated_at":"2022-01-07T10:58:44.000Z","dependencies_parsed_at":"2025-01-03T18:30:54.461Z","dependency_job_id":"fb651c32-650b-4b5c-bc3e-9f2bd0b156b2","html_url":"https://github.com/hendrapaiton/sinkron","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hendrapaiton/sinkron","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hendrapaiton%2Fsinkron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hendrapaiton%2Fsinkron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hendrapaiton%2Fsinkron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hendrapaiton%2Fsinkron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hendrapaiton","download_url":"https://codeload.github.com/hendrapaiton/sinkron/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hendrapaiton%2Fsinkron/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31293631,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T21:15:39.731Z","status":"ssl_error","status_checked_at":"2026-04-01T21:15:34.046Z","response_time":53,"last_error":"SSL_read: 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":["asynchronous","bootstrap","celery","django","javascript","python","redis","tasks","windows"],"created_at":"2024-11-09T08:14:06.008Z","updated_at":"2026-04-02T01:02:52.299Z","avatar_url":"https://github.com/hendrapaiton.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SINKRON ![Django CI](https://github.com/hendrapaiton/sinkron/workflows/Django%20CI/badge.svg)\n\u003e Simple Django Celery Example\n\n## Table of Contents\n* [General info](#general-info)\n* [Technologies](#technologies)\n* [Setup](#setup)\n* [Features](#features)\n* [Inspiration](#inspiration)\n* [Contact](#contact)\n\n## General Info\nThis project has a simple goal which is to create a progress bar \nwhere status is asynchronous using django application, celery and redis.\n\n## Technologies\n* Django - version 3.2.4\n* Celery - version 5.0.5\n* Redis - version 3.5.3\n\n## Setup\nBefore you setup the project you must clone this project and installing\nredis server where you can download at [redis.io](https://redis.io/download), \nand for windows you can download old version redis at [tporadowski](https://github.com/tporadowski/redis/releases).\n\n#### Clone\nClone this repo to your local machine \n```\n$ git clone https://github.com/hendrapaiton/sinkron.git\n```\n\n#### Installation\nMaking virtual environment for the project\n```\n$ cd sinkron\n$ pip install virtualenv\n$ virtual venv\n$ source venv/bin/activate # On linux\n$ .\\venv\\Scripts\\activate # on Windows\n```\nInstalling Django, Celery and Redis Library for Python\n```\n$ pip install -r requirements.txt\n```\nRun the project\n```\n$ python manage.py runshell\n```\nRun the celery\n```\n$ celery -A sinkron worker -l info\n```\n__Notes__ : Add arguments `--pool=solo` if you using Windows 10\n\n#### Testing\nIn python console\n```\n\u003e\u003e\u003e from index.tasks import add\n\u003e\u003e\u003e job = do_work.delay(1,2)\n\u003e\u003e\u003e print(job.info) \n{'current': 3, 'total': 100} # None if state is success\n\u003e\u003e\u003e print(job.state) \nPROGRESS # state is 'SUCCESS' if job is finished\n```\n\n## Features\n- [x] Simple task using celery and get the data from the task\n- [x] Task to make counter range from 1 to 100 using task in celery\n- [x] Making endpoint in django where can access from http by the client\n- [x] Making function javascript to get data from django and presenting progress bar\n\n\n## Inspiration\nProject is inspired by [Celery Tutorial](https://medium.com/swlh/python-developers-celery-is-a-must-learn-technology-heres-how-to-get-started-578f5d63fab3)\nand [Celery Progress Bar](https://buildwithdjango.com/blog/post/celery-progress-bars/)\n\n## Contact\nCreated by [@hendrapaiton](https://github.com/hendrapaiton)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhendrapaiton%2Fsinkron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhendrapaiton%2Fsinkron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhendrapaiton%2Fsinkron/lists"}