Self-Hosted (or github pages hosted) "clipboard"?

CosmicTurtle0@lemmy.dbzer0.com to Selfhosted@lemmy.world – 30 points –

Good day self-hosters! I'm not exactly sure what to call what I'm looking for besides a "clipboard". Let me describe my problem and what my ideal solution is.

At work, I get a lot of slack DMs that ask for the same information. It's not consistent to the point I would just pin the information in my Windows 11 clipboard. But it's often enough that I'd prefer to give people the same information each time it's asked.

I'm limited in what I can build on my work computer. In an ideal world, I'd do what Gilfoyle did and make and bot but I lack the time and skills for such a task. Right now, I solve this with a very long notepad, which is subject to copy/paste errors. If I don't highlight everything correctly or if I accidentally copy over an existing line. That kind of thing.

What I was thinking was a very simple website where the items I'm copying are in tiles that can be tagged and searched. Once I find what I'm looking for, I can click the button to copy it to my clipboard and then go on with my life.

Due to restrictions on my work computer, I cannot host containers or host a website, though a fully self-contained HTML page with javascript I could do.. Ideally this is something that can be build using Github Pages build with Jekyll but so far, I haven't found a theme that mimics the behavior I'm looking for and I lack the time (though not the skills) to build it.

I'd prefer the github route so that I can share the page with others on my team who get asked similar questions.

I am also able to deploy a website via Github Pages (with .nojekyll).

I have to think something similar to this already exists but I imagine the restrictions on having no backend might be the challenge. Love to hear your thoughts!

Edit: added context for Gilfoyle

Thank you all for the great suggestions. I should have added in this post that my work does not allow software with Copyleft (Don't get me started. I'm a strong copyleft advocate and it annoys me that my company only takes and never gives back to OSS). I'm going to give TiddlyWiki out. License is friendly with my work, seems simple enough to run.

That said, Logseq seems to be pretty interesting as well. Might try this out on my on machine to see if I like it.

23

You are viewing a single comment

TiddlyWiki might be a good option. Technically it’s a wiki, but it is a single HTML page with all functionality built in JavaScript, you could host it on GH pages, though you wouldn’t be able to use its save feature there (you would have to save to your local machine and the deploy a new version). It stores text in little (or large) cards which can be given a title, tags and other metadata, and it providesa full search system.

This comes the closest so far.

The saving feature might be the deal breaker, unless it can be done via a file (json, yaml, etc) that is committed along with the page. I'll explore this more. Thanks for the suggestion

+1 for TiddlyWiki

I've been using it for years for a similar reason.

Each section (Tiddler) that you create in each wiki can be exported as a static HTML file, so if you have tables, etc, then formatting shouldn't be lost.

I use Firefox with an addon that helps to save changes (not at the desk at the mo, so can't check the name), but it works well.

It saves into the tiddlywiki HTML file. The default behaviour is to then trigger the browser to download the file. You can absolutely store it in a git repository.