{"id":18492528,"url":"https://github.com/makevoid/bitcoinbook_transifex_build","last_synced_at":"2025-04-08T21:31:18.522Z","repository":{"id":34913831,"uuid":"38960634","full_name":"makevoid/bitcoinbook_transifex_build","owner":"makevoid","description":"Renders HTML/PDF files of the latest Mastering Bitcoin book version currently on Transifex (translations)","archived":false,"fork":false,"pushed_at":"2016-01-16T10:36:35.000Z","size":10380,"stargazers_count":6,"open_issues_count":1,"forks_count":15,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T18:37:55.004Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://bitcoinbook-builds.mkvd.net/","language":"CSS","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/makevoid.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":"2015-07-12T12:07:22.000Z","updated_at":"2024-07-01T11:55:31.000Z","dependencies_parsed_at":"2022-09-01T05:54:07.694Z","dependency_job_id":null,"html_url":"https://github.com/makevoid/bitcoinbook_transifex_build","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/makevoid%2Fbitcoinbook_transifex_build","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makevoid%2Fbitcoinbook_transifex_build/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makevoid%2Fbitcoinbook_transifex_build/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makevoid%2Fbitcoinbook_transifex_build/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/makevoid","download_url":"https://codeload.github.com/makevoid/bitcoinbook_transifex_build/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247931299,"owners_count":21020211,"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-11-06T13:08:24.179Z","updated_at":"2025-04-08T21:31:13.513Z","avatar_url":"https://github.com/makevoid.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Transifex \u003e Asciidoc build system\n# for aantonop/Bitcoinbook\n\nSimple web UI + Render Tool\n\nRenders HTML/PDF files of the latest version present on transifex\n\n\nthe files are converted\n\nto see some translations right check the 'with_translations' branch\n\n### Setup\n\nClone the project, copy the default configuration file from `config/transifex.default.txt` to `config/transifex.txt`, put your Transifex username and password in (Transifex should really use API keys instead of user credentials :/) and save the file.\n\nInstall docker (http://docs.docker.com/mac/started) then:\n\n    docker pull makevoid/asciidoc\n\nasciidoc container available at: https://hub.docker.com/u/makevoid/asciidoc\n\nthen\n\n    gem install bundle\n\n### Building\n\n    bundle\n\n### Run\n\n    rake run\n\nor\n\n    bin/asciifex\n\n\n### Console\n\n\n  irb -r ./config/env.rb\n\n\n\n### Direct urls\n\nDirect translation download urls (you need to be logged in):\n\n    https://www.transifex.com/projects/p/mastering-bitcoin/resource/preface/l/LANG/download/for_use/\n\n\nfor available LANGs see lib/languages.\n\n\n### PDF\n\nfor single pdfs you need pdfunite part of poppler-utils\n\n    apt-get install poppler-utils\n    \n\n#### Complete setup from a fresh ubuntu:14.04 machine\n\nas root:\n\n```\napt-get update\n\n# install some tools\napt-get install -y git-core wget vim\n\n# install packages for ruby\napt-get install -y build-essential libreadline-dev libssl-dev libtinfo-dev libyaml-dev libzlcore-dev\n\n# install ruby from source\nmkdir -p ~/tmp\ncd ~/tmp\nwget https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.0.tar.gz\ntar xvf ruby-2.3.0.tar.gz \ncd ruby-2.3.0\n./configure \u0026\u0026 make \u0026\u0026 make install\n\n# install bundler\ngem i bundler\n\n# clone the repo\nmkdir -p /www\ncd /www\ngit clone https://github.com/makevoid/bitcoinbook_transifex_build\ncd /www/bitcoinbook_transifex_build\nbundle\ncp config/transifex.default.txt config/transifex.txt\nvim config/transifex.txt\n# ------------------------------------------\n# enter your transifex username and password \n# ------------------------------------------\n\n# install docker\napt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D\necho \"deb https://apt.dockerproject.org/repo ubuntu-trusty main\" \u003e /etc/apt/sources.list.d/docker.list\n\napt-get update -y\napt-get install -y  linux-image-extra-$(uname -r)\n# --------------------------------------\n# continue without installing grub\n# --------------------------------------\napt-get install -y docker-engine\nservice docker restart\ndocker run hello-world # to test docker is working\n\n\n# install pdfunite\napt-get install -y poppler-utils\n\n# run the building task\ncd /www/bitcoinbook_transifex_build\nrake\n\n# then to launch the test server\nrackup -o 0.0.0.0\n\n# and visit http://your_host:9292\n```\n\nI will follow up with more infos for complete setup with a real web server\n\n---\n\nenjoy\n\nby @makevoid - http://github.com/makevoid?tab=repositories\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakevoid%2Fbitcoinbook_transifex_build","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmakevoid%2Fbitcoinbook_transifex_build","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakevoid%2Fbitcoinbook_transifex_build/lists"}