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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-tenancy #308

Open
gerwitz opened this issue Dec 28, 2020 · 8 comments
Open

Multi-tenancy #308

gerwitz opened this issue Dec 28, 2020 · 8 comments
Labels
core Core indiekit package enhancement New feature or request
Milestone

Comments

@gerwitz
Copy link

gerwitz commented Dec 28, 2020

Do you have any plans or interest in supporting multiple sites on a single instance?

(If it's not obvious, I kinda want to retire sitewriter.net and replace it with indiekit before picking development back up again.)

@gerwitz gerwitz added the enhancement New feature or request label Dec 28, 2020
@paulrobertlloyd
Copy link
Collaborator

Ha, guess the shoe is on the other foot now! 😉

I did think about this earlier on, but decided to reduce the complexity to make the app easier to develop and more likely to ship. Not opposed to adding this in the future, however.

@MaybeThisIsRu
Copy link

MaybeThisIsRu commented Feb 10, 2022

I'd be very interested in this. I've been thinking I want to make my static site starter kit a first-class citizen for Indiekit down the line. Essentially, a public server of Indiekit runs that with a few changes someone using a static site can plug into.

Now what Micropub client to recommend with this package...

@paulrobertlloyd
Copy link
Collaborator

Multi-tenancy is quite far off, and setting up a service to host multiple Micropub endpoints seems unlikely. But we’ll see, one step at a time!

@paulrobertlloyd
Copy link
Collaborator

paulrobertlloyd commented Dec 2, 2022

If/when it comes to adding multi-tenancy support, it would make sense to add support for mp-destination, too.

@paulrobertlloyd paulrobertlloyd added this to the Later milestone Dec 2, 2022
@paulrobertlloyd paulrobertlloyd added the core Core indiekit package label Dec 2, 2022
@gerwitz
Copy link
Author

gerwitz commented Dec 3, 2022

Now I wonder if mp-destination would be a good way to designate "real" categories (since micropub categories are actually tags).

@paulrobertlloyd
Copy link
Collaborator

Okay, I’ll bite… what’s the difference between categories and tags? What are you currently trying to achieve, and how would mp-destination help?

(I’ve been thinking a bit about multi-tenancy, but deferring development until after I’ve launched 1.0)

@gerwitz
Copy link
Author

gerwitz commented Dec 7, 2022

I have a small number of categories like work, personal, and meta, which in some design iterations have been used for distinct feeds or index pages. This would map well to destinations.

Tags are, well, tags. Folksonomy-style. I have at least dozens of them and only use them to inform search and "posts like this" pivots.

(Even the Micropub documentation refers to categories as tags. This field has always been mis-named.)

@paulrobertlloyd paulrobertlloyd modified the milestones: Later, v2.0 Dec 15, 2022
@paulrobertlloyd paulrobertlloyd changed the title Multi-tenancy? Multi-tenancy Dec 15, 2022
@paulrobertlloyd
Copy link
Collaborator

Possibly in the realm of ‘giant hack’, but it’s now possible to add separate tags and categories (or any other type of token array) to posts thanks to the recent APIs added for customising post types.

Take a look at paulrobertlloyd/paulrobertlloyd-indiekit@2876250 for how I’m currently handling this for my own website. I’m sure there could be a smarter way to enable this sort of customisation, but this has at least moved from ‘impossible’, to ‘possible, with some effort’.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core indiekit package enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants