Skip to content

salaivv/hacker-news-alpine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hacker News Client

A Hacker News client (PWA) using Jekyll and Alpine.js.

The client is live here.

Read my blog post on building the client.

Running locally

You need Ruby and Jekyll installed to run the project locally. Once you have them installed, open the terminal and run these commands:

git clone https://github.com/salaivv/hacker-news-alpine
cd hacker-news-alpine
bundle
bundle exec jekyll serve --livereload

Then you can access the client in your browser at http://localhost:4000. Jekyll will build the site and output to the _site directory. The --livereload flag will make Jekyll regenerate sites as you edit them.

If you want to serve the client in you local network then you can run:

bundle exec jekyll serve --livereload --host=0.0.0.0

Then you can access the client from any device in your network by visiting http://{IP_TO_YOUR_MACHINE}:4000.

About

A Hacker News clone using Alpine.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published