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

Allowing switching sites #9

Open
ghost opened this issue Mar 24, 2018 · 2 comments
Open

Allowing switching sites #9

ghost opened this issue Mar 24, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Mar 24, 2018

API keys would be stored as follows:

  • .config/neocities/config
  • .config/neocities/super-website
  • .config/neocities/other-website

And the command neocities switch other-website would just copy other-website in config.

I'd like to implement that.

In the meantime one could just use what follows as neocities-switch:

#!/bin/bash
cp ~/.config/neocities/$1 ~/.config/neocities/config

After manually copying API keys.

@fu-sen
Copy link

fu-sen commented Feb 12, 2019

Great! I would like to use multiple Neocities sites, but I was having trouble with uploading.

I coped the same means by creating a Windows batch file:
https://gist.github.com/fu-sen/36b60fe0cd5a7b3ed674087882eebc32

@TanguyAndreani
Copy link
Contributor

@fu-sen i'm glad to know that it helped you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants