Coder Social home page Coder Social logo

noahlh / celestite Goto Github PK

View Code? Open in Web Editor NEW
220.0 10.0 8.0 2.86 MB

Beautifully reactive, server-side rendered Svelte apps w/ a Crystal backend

License: MIT License

Crystal 65.24% JavaScript 21.02% HTML 2.33% Makefile 6.25% Dockerfile 4.37% Svelte 0.79%
crystal framework web ssr amber amber-framework universal isomorphic svelte sapper

celestite's People

Contributors

dependabot[bot] avatar noahlh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

celestite's Issues

Add option for static render

Several have suggested this and it's a good idea: We should add an option to celestite_render() to allow for a static render in production, which is to say, avoid a r/t to the Node server.

This will be for certain pages whose content we can reliably expect to be static / pre-rendered. If there's no crystal variables being sent (eg no DB calls, etc.) and no server-side node requirements, then we can simply serve up the pre-rendered HTML.

Lucky support

I am looking to use this with Lucky. Has anyone used this with Lucky? Is there a checklist to work through to get this to work with Lucky?

Unhandled exception in spawn: Unable to get info for "public/dist/cvue.main.js"

On very first load (before there's a /build directory). Doesn't seem to cause an actual issue, but should be fixed nonetheless.

Unhandled exception in spawn: Unable to get info for "public/dist/cvue.main.js": No such file or directory (Errno)
  from /usr/local/Cellar/crystal/0.27.0/src/file.cr:122:37 in 'info'
  from /usr/local/Cellar/crystal/0.27.0/src/file.cr:121:3 in 'info'
  from lib/amber/src/amber/support/client_reload.cr:47:7 in 'get_timestamp'
  from lib/amber/src/amber/support/client_reload.cr:53:9 in 'scan_files'
  from lib/amber/src/amber/support/client_reload.cr:16:9 in 'run'
  from lib/amber/src/amber/support/client_reload.cr:11:7 in '->'
  from /usr/local/Cellar/crystal/0.27.0/src/fiber.cr:255:3 in 'run'
  from /usr/local/Cellar/crystal/0.27.0/src/fiber.cr:75:34 in '->'

Add "--src" option

The entire celestite/node project should be configurable within the calling app, including all dependencies (in package.json) and the webpack config file.

This is needed so additional packages can be added to the node project without burdening the core celestite project with additional project-specific dependencies.

installation fails

I added

celestite:
    github: noahlh/celestite
    version: ~> 0.1.2

and I also tried

celestite:
   github: noahlh/celestite

the result is always

# shards update
...
Fetching https://github.com/noahlh/celestite.git
Failed git ls-tree -r --full-tree --name-only v0.1.1 -- shard.yml (). Maybe a commit, branch or file doesn't exist?

Is there a solution?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.