A project I started over ten years ago when I set out to learn web development. Since then it's seen over 100,000 signups and served up over 2 billion file downloads https://hostr.co
Find a file
2025-06-12 13:36:31 +00:00
.forgejo/workflows Disable signups, minor fixes 2025-05-30 09:03:26 +01:00
.vscode Fix linting 2018-06-02 18:20:05 +00:00
api Fix broken shit after dep updates 2020-06-14 22:51:34 +01:00
lib Fix broken shit after dep updates 2020-06-14 22:51:34 +01:00
models Fix linting 2018-06-02 18:20:05 +00:00
test Upgrade node and deps 2020-06-14 21:32:07 +01:00
web Disable signups, minor fixes 2025-05-30 09:03:26 +01:00
.babelrc Finish updating deps 2016-06-02 21:16:41 +01:00
.dockerignore Update dependencies 2019-06-08 07:52:57 -07:00
.eslintignore Get linting passing again 2016-06-06 15:37:00 +01:00
.eslintrc Fix linting 2018-06-02 18:20:05 +00:00
.gitignore Ignore minigun test files 2015-08-22 16:18:09 +01:00
.gitlab-ci.yml More changes for db migration 2016-08-07 14:38:05 +01:00
app.js Disable signups, minor fixes 2025-05-30 09:03:26 +01:00
CHECKS Initial commit. 2015-08-03 22:06:40 +01:00
Containerfile Disable signups, minor fixes 2025-05-30 09:03:26 +01:00
docker-compose.yml Update redis Docker tag to v4.0.14 2025-06-12 13:36:31 +00:00
LICENSE Add a license 2016-05-24 19:37:12 +01:00
Makefile Better login logging 2019-01-19 11:06:14 +00:00
nginx.conf.sigil Update stuff 2018-06-02 15:50:39 +00:00
package.json Update dependency tmp to v0.2.3 2025-06-12 13:08:48 +00:00
README.md Lower logging volume 2019-01-13 17:59:03 +00:00
renovate.json Add renovate.json 2025-06-11 15:51:29 +00:00
webpack.config.js Fix broken shit after dep updates 2020-06-14 22:51:34 +01:00
worker.js Upgrade deps 2019-01-14 21:47:30 +00:00
yarn.lock Update dependency tmp to v0.2.3 2025-06-12 13:08:48 +00:00

Hostr

About

Hostr is a project I started over ten years ago when I set out to learn web development. Since then it's seen over 100,000 signups and served up over 2 billion file downloads.

It has been through many iterations, but in its current incarnation Hostr uses Koa for the backend, Angular and Webpack for the frontend, and Babel for both.

Getting Started

Dependencies

Everything is taken care of by a make build.

Enviroment Variable Configuration

See .envrc.example. Copy it to .envrc, modify and source .envrc for development. direnv is pretty nice for doing this automatically when you cd into your work directory.

Usage

Start the app

$ make docker-compose-up

Initialise the environment

$ make init migrate

Run the tests

$ make test

Licence

My primary motivation is to get to work on Hostr in public. Contributions are welcome and all Javascript is Apache licenced, however the brand is not. The brand includes the name, logo images, CSS and marketing HTML.