{"id":29356049,"url":"https://github.com/danopcode/hydra","last_synced_at":"2025-07-09T04:09:50.465Z","repository":{"id":25208219,"uuid":"28632174","full_name":"DanOpcode/hydra","owner":"DanOpcode","description":"Personal website","archived":false,"fork":false,"pushed_at":"2015-01-18T17:05:38.000Z","size":616,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-16T05:06:00.110Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://matachi.se","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DanOpcode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-30T13:40:55.000Z","updated_at":"2015-10-03T03:36:18.000Z","dependencies_parsed_at":"2022-08-23T21:10:59.022Z","dependency_job_id":null,"html_url":"https://github.com/DanOpcode/hydra","commit_stats":null,"previous_names":["danopcode/hydra"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DanOpcode/hydra","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanOpcode%2Fhydra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanOpcode%2Fhydra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanOpcode%2Fhydra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanOpcode%2Fhydra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DanOpcode","download_url":"https://codeload.github.com/DanOpcode/hydra/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanOpcode%2Fhydra/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264390707,"owners_count":23600564,"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":"2025-07-09T04:09:49.123Z","updated_at":"2025-07-09T04:09:50.456Z","avatar_url":"https://github.com/DanOpcode.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hydra\n\nPersonal website and blog.\n\nAuthor: Daniel Jonsson  \nLicense: [MIT License](LICENSE)\n\n## Run with Docker\n\nBuild the Docker image:\n\n    $ sudo docker build -t matachi/hydra .\n\nRun the image:\n\n    $ sudo docker run -i -t -v `pwd`:/home/hydra/app:rw -p 8000:8000 -p 1337:22 matachi/hydra\n\nThen, inside the container, start the Django development web server:\n\n    $ python3 /home/hydra/app/manage.py runserver 0.0.0.0:8000\n\nFinally open [127.0.0.1:8000](http://127.0.0.1:8000) in the web browser.\n\n## Configure PyCharm\n\nTo work with the project in PyCharm and still run it in Docker, read the\nfollowing text.\n\nSet your project Python interpreter to a remote interpreter. Configure it with\nthe following settings:\n\n    Host: 127.0.0.1\n    Port: 1337\n    Username: root\n    Auth type: Password\n    Password: pass\n    Python interpreter path: /usr/bin/python3\n\nAnd before starting a *Django server*, make the following configurations:\n\n    Host: 0.0.0.0\n    Port: 8000\n    Path mappings: /path/to/hydra/on/host=/home/hydra/app\n\nWhere `/path/to/hydra/on/host` is the directory on the host where this project\ndirectory is located.\n\n## Build JS and CSS\n\n### Prerequisites\n\nInstall Node.js, npm, gulp and virtualenv.\n\n#### Debian and Ubuntu\n\nInstructions to install the prerequisites on a Debian based system (Ubuntu for\nexample):\n\n    $ sudo apt-get install nodejs python-virtualenv\n    $ sudo npm install -g gulp\n    $ sudo chown -R `whoami`:`whoami` ~/.npm ~/tmp\n\n#### Fedora\n\nInstructions for Fedora:\n\n    $ sudo dnf install nodejs npm python-virtualenv\n    $ sudo npm install -g gulp\n\nNote, use `yum` instead of `dnf` if `dnf` isn't available.\n\n### Setup\n\nInstall build tools and dependencies:\n\n    $ npm install\n\nNote, the above command will also execute [postinstall.sh](postinstall.sh).\n\n### Build\n\n    $ gulp build\n\n## Interact with a server\n\nCopy the SQLite database file from a server over SSH:\n\n    $ scp [hostname]:hydra/db.sqlite3 .\n\nThis is useful when the site is deployed on a remote server and you want to\nretrieve the database for local testing and development.\n\n## Manually build the syntax highlighting stylesheet\n\nThis is already done by `$ gulp build`.\n\n    $ pygmentize -S manni -f html -a \".codehilite pre\" \u003e manni.css\n\n## Manually build Social Share Privacy\n\nThis is already done by `$ gulp build`.\n\nDownload from \u003chttps://github.com/panzi/SocialSharePrivacy\u003e and run:\n\n    $ ./build.sh -m tumblr,twitter,facebook -l none\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanopcode%2Fhydra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanopcode%2Fhydra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanopcode%2Fhydra/lists"}