Implement WebFinger?
Is there any simple way to implement a WebFinger with Blot?
I tried to upload a JSON file, and it is served by Blot (https://lev.lc/webfinger.json), but I can't figure out how to assign it to a proper "/.well-known/webfinger"
path. If you wonder why anyone needs that, it looks like an easy yet "hacky" way to use your own domain with Mastodon
Try creating a folder called '.well-known' in the root directory of your blog folder, then place a file called 'webfinger' containing your JSON inside. Does that work?
This works because underneath all the layers, Blot is just a static file server.
Answered 2 years ago · Edit answerthank you! my site folder is inside iCloud on Mac, — "." system prefix will mess things up on Apple side, I'm afraid. I guess it's a faux pas .. (
Answered 2 years ago · Edit answerI know MacOS's Finder will complain, but it shouldn't mess anything up! I use a Mac and have plenty of dotfiles and directories
Answered 2 years ago · Edit answerI'm more concerned with iCloud, I had to routinely clean up some cloud folders with a terminal in the past because of the forgotten .git
files — the iCloud was giving me the frozen syncs
I'm trying to implement this, but I am stuck by the Finder. How do you get past this dialog and continue to name a folder with a "."?
Answered 2 years ago · Edit answerHi. I did not use Finder. I used the terminal. I navigated to my Dropbox folder which has the root of my blog in it. I created a .well-known folder in the terminal and then copied over the webfinger file to it in the terminal.
Answered 2 years ago · Edit answerother option is to do it with "vscode" or other code editor that allows to work with system files / folders. I personally shy away from vim and make too many mistakes with shell to use the terminal
Answered 2 years ago · Edit answerJust to let you know, I totally third-partied this conversation, and have got Webfinger working on my site thanks to you, so: thanks!
Answered 2 years ago · Edit answerGlad to see this, got it working to verify my nostr identity which also uses webfinger.
Ray
Answered a year ago · Edit answer