Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for a decentralized templating system with spin new #74

Open
1 task
jaydrogers opened this issue Apr 5, 2024 Discussed in #57 · 0 comments
Open
1 task

Add support for a decentralized templating system with spin new #74

jaydrogers opened this issue Apr 5, 2024 Discussed in #57 · 0 comments
Labels
鈿★笍 Enhancement Items that are new features requested to be added.

Comments

@jaydrogers
Copy link
Member

jaydrogers commented Apr 5, 2024

Discussed in #57

Originally posted by jaydrogers January 8, 2024

馃憠 Describe the problem

  • All templates for Spin must be committed to the repository, meaning it's difficult to scale from a community perspective
  • People want to contribute templates, but they don't know how

馃懃 Problem evidence & reach

YouTube comment (https://www.youtube.com/watch?v=I_dq-kRDztI):

image

馃グ Describe the "impact" on users?

This would make the community be more self-sustained and improve compatibility for other people to start using Spin.

馃弳 How to solve this problem

Build a template system based off of NPM

We can use the existing package delivery system of NPM to distribute Docker compose templates. Yeah, I know -- I can't believe I just said that.

Hear me out...

  • NPM is a package system that people already use and most are familiar with
  • Users can easily create their own templates if needed
  • Users can publish their own templates and share it with the world `spin new @myorg/my-awesome-template

Have support for "official templates"

We will continue to support official templates where users can run spin new laravel which would just shortcut to a Server Side Up package.

Guides & Documentation

  • Create a developer guide on how to build and test their own templates
@jaydrogers jaydrogers added the 鈿★笍 Enhancement Items that are new features requested to be added. label Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
鈿★笍 Enhancement Items that are new features requested to be added.
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant