sveltejs / hn.svelte.dev Goto Github PK
View Code? Open in Web Editor NEWHacker News clone built with Svelte and Sapper
Home Page: https://hn.svelte.dev
License: MIT License
Hacker News clone built with Svelte and Sapper
Home Page: https://hn.svelte.dev
License: MIT License
I'm still new to Svelte, so every time I want to search up something related to Svelte, almost the entire first page is from hn.svelte.technology.
None of these results really have anything to do with Svelte. I know I can do -site:hn.svelte.technology
to exclude results from there (and it works well), but it's still really annoying to have to type it out every time. Besides, it's probably not the best idea to be rehosting someone else's content and having it be indexed by search engines.
This can be fixed by changing the robots.txt of that site to disallow everything.
npm run sapper
works locally but not in CI... and it's something to do with this:
> Building...
> Failed to build — error in /Users/runner/runners/2.262.1/work/hn.css.dev/hn.svelte.dev/src/routes/_layout.svelte: Expected }
1: main.svelte-12dt5ya{position:relative;max-width:56em;padding:2em;margin:0 auto;box-sizing:border-box}
It's putting the project in hn.svelte.dev
and somehow that is getting rewritten to hn.css.dev
and somehow that is breaking stuff. beyond that i am at a loss
@pngwn helped me investigate yesterday
npm run sapper
fails with errors like:
Building...
Failed to build — error in src/routes/_layout.svelte: Expected }
1: main.svelte-1uhnsl8{position:relative;max-width:56em;background-color:white;padding:2em;margin:0 auto;box-sizing:border-box}
Things we found out:
https://developers.google.com/web/updates/2019/07/nic76#dark-mode User styles were standardized and are working in most of the major browsers.
It is dissapointing that your flagship demo has zero documentation/instructions and it does not work.
I assumed the way to run this was yarn/yurn run dev/yarn start based on the previously deprecated project that had a Readme.
Even with that Error: Cannot find module 'svelte/store.mjs' is thrown.
RSS currently broken on HN demo
n/a
n/a
serious, but I can work around it
No response
https://api.hnpwa.com/v0/newest/1.json gives Error: could not handle the request
, resulting in 500.
Related: davideast/hnpwa-api#11
Probably just use the working https://api.hnpwa.com/v0/newest.json?page=1 endpoint.
Does this just pull the HN feed or is it a complete custom database?
I'm looking for a HN type clone where I can host and build a communjity around a specific niche.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.