{"id":47834190,"url":"https://github.com/pcsg/pcsg-steem-blockchain-parser","last_synced_at":"2026-04-03T20:20:49.560Z","repository":{"id":45822220,"uuid":"128219892","full_name":"pcsg/pcsg-steem-blockchain-parser","owner":"pcsg","description":"This application parses the Steem Blockchain into a SQL Database.","archived":false,"fork":false,"pushed_at":"2018-10-24T06:13:58.000Z","size":210,"stargazers_count":9,"open_issues_count":4,"forks_count":6,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-05-01T09:35:56.013Z","etag":null,"topics":["blockchain","database","docker","parse","steem-blockchain","steemit-php-parser"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pcsg.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}},"created_at":"2018-04-05T14:42:38.000Z","updated_at":"2024-04-01T13:22:45.000Z","dependencies_parsed_at":"2022-08-31T20:41:56.730Z","dependency_job_id":null,"html_url":"https://github.com/pcsg/pcsg-steem-blockchain-parser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pcsg/pcsg-steem-blockchain-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcsg%2Fpcsg-steem-blockchain-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcsg%2Fpcsg-steem-blockchain-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcsg%2Fpcsg-steem-blockchain-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcsg%2Fpcsg-steem-blockchain-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pcsg","download_url":"https://codeload.github.com/pcsg/pcsg-steem-blockchain-parser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcsg%2Fpcsg-steem-blockchain-parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31374772,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T17:53:18.093Z","status":"ssl_error","status_checked_at":"2026-04-03T17:53:17.617Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["blockchain","database","docker","parse","steem-blockchain","steemit-php-parser"],"created_at":"2026-04-03T20:20:49.002Z","updated_at":"2026-04-03T20:20:49.552Z","avatar_url":"https://github.com/pcsg.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"STEEM to Database\n======\n\n![STEEM to Database](bin/header.png)\n\nDescription\n------\n\nSTEEM to Database will parse the STEEM Blockchain and insert the data into a Database. \nIt is possible to parse either a single block, a range of blocks or run a continuous loop to parse all available blocks.\n\n*Currently only MySQL is supported* \n\nFeatures\n------\n\n* [x] Parse a single block\n* [x] Parse a range of Blocks\n* [ ] Verify the Database (Check all blocks and insert missing data)\n* [x] Parse latest blocks\n* [ ] Highly configurable\n* [x] Easily readable output\n\nInstallation\n------\n\n### Needles\n\n```\nphp-mbstring\nphp-mysql\n```\n\n### Manually\n\n**Step 1** Clone the repository\n```\ngit clone git@dev.quiqqer.com:pcsg/steem-blockchain-parser.git\n```\n\n**Step 2** Edit the config file\n```\nmv etc/config.ini.php.dist etc/config.ini.php\nnano etc/config.ini.php\n```\n\n**Step 3** Create Database\n* Create the Database\n* Import the SQL File `sql/createTables.sql`\n\n**Step 4** Run composer\n```\ncomposer install\n```\n\n**Step 5** Run the parser\n```\nphp run.php\n```\n\n### Docker\n\n**Step 1** Database\n\nCreate a database on a database server (your docker containers must be able to connect to it)\nExecute the `sql/createTables.sql` SQL-Queries to create the databases table structure\n\n\n**Step 2** Docker container\n\nWe provide a docker container for ease of use.  \nChange the environment variables and run the following command to get the container up and running.  \n```\ndocker run --name steemit-parser \\\n  -e DB_HOST=\u003cchangeme\u003e \\\n  -e DB_PORT=\u003cchangeme\u003e \\\n  -e DB_USER=\u003cchangeme\u003e \\\n  -e DB_PASSWORD=\u003cchangeme\u003e \\\n  -e DB_NAME=\u003cchangeme\u003e \\\n  --restart=unless-stopped \\\n  bogner/steem-blockchain-parser\n```\n \n**Hint**: To run the container in the background you need to add the `-d` flag to the `docker run` command.\n\nAdditional steps\n------\n\n### Keep the parser running (For manual installations)\n\n#### Supervisor\n\n```\napt-get install supervisor\n```\n\n```\nnano /etc/supervisor/conf.d/steem-blockchain-parser.conf\nmkdir \u003cparser-directory\u003e/logs/\n```\n\n```\n[program:blockchain-parser]\ncommand=/usr/bin/php run.php\nprocess_name = %(program_name)s-80%(process_num)02d\nstdout_logfile = \u003cparser-directory\u003e/logs/blockchain-parser%(process_num)02d.log\nstdout_logfile_maxbytes=100MB\nstdout_logfile_backups=10\nstderr_logfile= /home/s2db/logs/error-blockchain-parser%(process_num)02d.log\nnumprocs=1\ndirectory=\u003cparser-directory\u003e\nstopwaitsecs=10\nuser=\u003cuser\u003e\nautostart=true\nautorestart=true\n```\n\n```\nservice supervisor restart\n```\n\n\nHow it works\n-----\n\n![How it works](bin/how-it-works.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcsg%2Fpcsg-steem-blockchain-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpcsg%2Fpcsg-steem-blockchain-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcsg%2Fpcsg-steem-blockchain-parser/lists"}