{"id":13651123,"url":"https://github.com/bitcoin-abe/bitcoin-abe","last_synced_at":"2025-04-22T22:30:31.747Z","repository":{"id":45264095,"uuid":"1887174","full_name":"bitcoin-abe/bitcoin-abe","owner":"bitcoin-abe","description":"Abe: block browser for Bitcoin and similar currencies","archived":false,"fork":false,"pushed_at":"2023-06-26T04:16:54.000Z","size":2964,"stargazers_count":982,"open_issues_count":160,"forks_count":653,"subscribers_count":110,"default_branch":"master","last_synced_at":"2024-11-10T02:34:03.529Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bitcoin-abe.png","metadata":{"files":{"readme":"README-FASTCGI.txt","changelog":"CHANGES.txt","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2011-06-13T03:43:17.000Z","updated_at":"2024-10-27T08:44:31.000Z","dependencies_parsed_at":"2023-10-20T18:27:15.606Z","dependency_job_id":null,"html_url":"https://github.com/bitcoin-abe/bitcoin-abe","commit_stats":{"total_commits":732,"total_committers":22,"mean_commits":33.27272727272727,"dds":0.3005464480874317,"last_synced_commit":"33513dc8025cb08df85fc6bf41fa35eb9daa1a33"},"previous_names":["jtobey/bitcoin-abe"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitcoin-abe%2Fbitcoin-abe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitcoin-abe%2Fbitcoin-abe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitcoin-abe%2Fbitcoin-abe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitcoin-abe%2Fbitcoin-abe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitcoin-abe","download_url":"https://codeload.github.com/bitcoin-abe/bitcoin-abe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250333856,"owners_count":21413470,"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":[],"created_at":"2024-08-02T02:00:45.408Z","updated_at":"2025-04-22T22:30:31.387Z","avatar_url":"https://github.com/bitcoin-abe.png","language":"Python","funding_links":[],"categories":["Blockchain dump","Blockchain Playgrounds","awesome Bitcoin"],"sub_categories":["E-Books"],"readme":"Apache 2 FastCGI setup on Debian/Ubuntu\r\n=======================================\r\n\r\nThis document describes how to install and run Abe as a FastCGI\r\nprocess under Apache 2 on a Debian GNU/Linux or Ubuntu system.\r\nAdvantages of FastCGI over the built-in HTTP server include:\r\n\r\n    * lets browsers cache static content for better performance;\r\n    * can integrate with an existing website, no :2750 in URLs.\r\n\r\nThese instructions assume root privileges.  To begin a privileged\r\nsession in a terminal window, issue \"sudo -i\" (Ubuntu) or \"su -\"\r\n(Debian).\r\n\r\nInstall required packages:\r\n\r\n    apt-get install apache2 libapache2-mod-fcgid python-flup\r\n    apt-get install python-crypto\r\n\r\nChange directory to the Abe distribution and install Abe:\r\n\r\n    cd bitcoin-abe\r\n    python setup.py install\r\n\r\nReplace YOUR.ABE.DOMAIN below with a domain that resolves to this\r\nhost.  The site will be http://YOUR.ABE.DOMAIN/.  To embed Abe in an\r\nexisting site (e.g., http://YOUR.DOMAIN/abe/) prepend a path (e.g.,\r\n\"/abe\") in the Alias directives, place them in your existing\r\nsites-available file instead of a new VirtualHost, and merge or create\r\nyour site's /robots.txt with adjusted paths from Abe/htdocs/robots.txt.\r\n\r\nReplace HTDOCS/DIRECTORY below with the directory containing abe.css;\r\nthe Apache process must have permission to read it.  The following\r\ncommand displays the correct value:\r\n\r\n    python -m Abe.abe --print-htdocs-directory\r\n\r\nOptionally, replace \"/usr/lib/cgi-bin\" below with another directory;\r\nApache must have the directory configured with Options +ExecCGI.\r\n\r\nCreate file /etc/apache2/sites-available/abe with these contents:\r\n\r\n    \u003cVirtualHost *:80\u003e\r\n        ServerName YOUR.ABE.DOMAIN\r\n        Alias /static/ HTDOCS/DIRECTORY/\r\n        Alias /robots.txt HTDOCS/DIRECTORY/robots.txt\r\n        Alias /favicon.ico HTDOCS/DIRECTORY/favicon.ico\r\n        Alias / /usr/lib/cgi-bin/abe.fcgi/\r\n\r\n        # Raise this if you get server errors mentioning \"mod_fcgid:\r\n        # read data timeout in 40 seconds\"\r\n        #FcgidIOTimeout 40\r\n\r\n        # Uncomment to log Abe requests.\r\n        #ErrorLog /var/log/abe_error.log\r\n        #LogLevel info\r\n        #CustomLog /var/log/abe_access.log combined\r\n    \u003c/VirtualHost\u003e\r\n\r\nEnable the new configuration:\r\n\r\n    a2ensite abe\r\n    service apache2 reload\r\n\r\nReplace USER with your Unix user name and create file\r\n/usr/lib/cgi-bin/abe.fcgi with these contents:\r\n\r\n    #! /usr/bin/python\r\n    import subprocess, sys, os\r\n    command=[\"sudo\", \"-u\", \"USER\", \"/home/USER/cgi-bin/abe\", str(os.getpid())]\r\n    subprocess.Popen(command, stdin=sys.stdin).wait()\r\n\r\nMake the file executable:\r\n\r\n    chmod +x /usr/lib/cgi-bin/abe.fcgi\r\n\r\nReplace USER with your Unix user name and use visudo(1) to append\r\nthe following to /etc/sudoers:\r\n\r\n    # This allows the Apache account (www-data) to run Abe as USER.\r\n    www-data ALL=(USER) NOPASSWD: /home/USER/cgi-bin/abe\r\n\r\nPut configuration such as database connection parameters in\r\n/home/USER/abe.conf or change the location below.  See the sample\r\nabe.conf in the Abe distribution for file format.  IMPORTANT: Make\r\nsure the configuration does NOT contain a \"host\" or \"port\" option.\r\n\r\nCreate file /home/USER/cgi-bin/abe with these contents:\r\n\r\n    #! /bin/sh\r\n    PYTHONUNBUFFERED=1 exec python -m Abe.abe \\\r\n    --config /home/USER/abe.conf --static-path static/ --watch-pid=\"$1\"\r\n\r\nMake the file executable:\r\n\r\n    chmod +x /home/USER/cgi-bin/abe\r\n\r\nAbe should be reachable at http://YOUR.ABE.DOMAIN/.  Exit the\r\nprivileged session:\r\n\r\n    exit\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitcoin-abe%2Fbitcoin-abe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitcoin-abe%2Fbitcoin-abe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitcoin-abe%2Fbitcoin-abe/lists"}