GithubHelp home page GithubHelp logo

Comments (4)

lovasoa avatar lovasoa commented on June 11, 2024

Hello and thank you for making the package. Would you be interested to upstream your changes ?

  • the userInfo call could be wrapped in a try/catch
  • there could be a configuration parameter to set a default board name.

This way, you could use the main branch of wbo in your sandstorm package.

from whitebophir.

ocdtrekkie avatar ocdtrekkie commented on June 11, 2024

I would indeed, though I am not super confident I could quickly figure out how to implement the configuration parameter myself. (Someday I should learn to hack on JS codebases more...) With those changes the only thing the Sandstorm package would need to carry upstream would be the .sandstorm folder with packaging metadata.

from whitebophir.

lovasoa avatar lovasoa commented on June 11, 2024

For the configuration, it should not be more complicated than added an entry in the configuration file and than changing this:

case "": // Index page
logRequest(request);
indexTemplate.serve(request, response);
break;

to make a redirection (a simple response.writeHead(302, { location: '/boards/myboard' }) )

Don't hesitate to ask here if you need more guidance

from whitebophir.

ocdtrekkie avatar ocdtrekkie commented on June 11, 2024

Okay, so subject to testing before I open the PR, but new edit for whitebophir should be:
ocdtrekkie@12f4ea0

And the following repo should clone whitebophir into a subdirectory (which it gitignores) and builds the Sandstorm package, so I can recklessly pile metadata the rest of the metadata I need in here.
https://github.com/ocdtrekkie/whitebophir-sandstorm

from whitebophir.

Related Issues (20)

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.