this post was submitted on 22 May 2024
30 points (96.9% liked)

Selfhosted

40006 readers
960 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

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.

all 25 comments
sorted by: hot top controversial new old
[–] vvv@programming.dev 16 points 5 months ago (1 children)

just to give you the term to search for, these types of applications are called snippet managers. for example, https://snibox.github.io/

there's a ton of them around. I don't have a particular one that I recommend, since it's not something I use in my workflow.

[–] CosmicTurtle0@lemmy.dbzer0.com 6 points 5 months ago

Ah...I never thought about it that way but you are right! Snibox wouldn't work for my use case but a quick google search came up with a few possible ones.

Thank you!

[–] butitsnotme@lemmy.world 8 points 5 months ago (1 children)

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.

[–] CosmicTurtle0@lemmy.dbzer0.com 3 points 5 months ago (2 children)

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

[–] Cyber@feddit.uk 2 points 5 months ago

+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.

[–] butitsnotme@lemmy.world 1 points 5 months ago

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.

[–] AtariDump@lemmy.world 6 points 5 months ago

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.

Use (something like) Auto Hot Key

[–] mhzawadi@lemmy.horwood.cloud 3 points 5 months ago

We have a git repo full of markdown files, I made this template repo https://github.com/mhzawadi/doc-store-template from it

[–] perishthethought@lemm.ee 2 points 5 months ago (1 children)

OP, I love how you just casually drop a fictional character's name and assume we all know who Gilfoyle is.

I do, for sure, but it's still funny.

If you don't find a good app, check out Memos on github. It's lightweight and could do what you need.

[–] BearOfaTime@lemm.ee 2 points 5 months ago* (last edited 5 months ago) (1 children)

Can you install apps on your work machine?

I've used Ditto as a clipboard manager on Windows for going on 20 years. Unbeatable.

You can manage clips in it extensively, it's scriptable, hot keys, groups, etc.

It's also in the MS App Store

Edit: Just noticed you want something shareable, like a web page. Does your company not have a wiki?

[–] CosmicTurtle0@lemmy.dbzer0.com 1 points 5 months ago (1 children)

Company has a wiki, but doesn't have the feature of doing a tag-based search. It wouldn't be much better than my notepad, though the benefit would be that it could copy html.

I can install apps but it has to clear cyber security.

[–] BearOfaTime@lemm.ee 0 points 5 months ago (1 children)

Well that's unfortunate.

Maybe Ditto will clear the security team. Hell, they might love it and be grateful to learn about it.

I'd think being in the MS store would help a little.

Try it on your personal machine, I can't live without it, and everyone I've shown it to says "why isn't this part of windows"?

[–] CosmicTurtle0@lemmy.dbzer0.com 1 points 5 months ago (1 children)

I reviewed it and it looks like they use a proprietary license. Unless I missed something.

And MS Store doesn't help. Each program that shows up on my work's MS Store is approved.

As for trying it myself, I use Linux as my main workhorse. 😜

[–] beeng@discuss.tchncs.de 1 points 5 months ago

Copyq is now your friend.

[–] psycobob@lemmy.world 2 points 5 months ago (1 children)

It may be overkill but I use Logseq for notes. It uses a local git repository to manage changes. I have a hook setup to push to a GitHub repo when it does.

It just produces markdown files so you can dig through them without the app installed if you like.

[–] CosmicTurtle0@lemmy.dbzer0.com 1 points 5 months ago (1 children)

Logseq seems very interesting. It looks similar to "OneNote" in terms of overall approach but open source. The main issue my company would have is that the license is AGPL. My company refuses to use any license that includes Copyleft.

[–] redbr64@lemmy.world 1 points 5 months ago (1 children)

Just curious, what's their reasoning?

[–] CosmicTurtle0@lemmy.dbzer0.com 1 points 5 months ago (1 children)

Probably the notion that they'd be required to release proprietary code. I never heard a reason as to why we can't use software with copyleft. Just that we can't.

[–] redbr64@lemmy.world 1 points 5 months ago

Ah, that's the only thing I was thinking of, but it surely didn't sound like you trying to develop a product on top of it haha

[–] swooosh@lemmy.world 1 points 5 months ago (1 children)

I'd just create a matrix room and invite everybody

Or a markdown document synced with nextcloud

[–] CosmicTurtle0@lemmy.dbzer0.com 1 points 5 months ago

I can't host a matrix instance and would be overkill for what I'm trying to do.

Markdown isn't any better than my current method of writing in a text file. I don't need synchronization.

[–] Kuvwert@lemm.ee 1 points 5 months ago

Maybe this?

https://github.com/TagStudioDev/TagStudio?tab=readme-ov-file#installation

I haven't used it, but it looks cool and maybe relevant