Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stagfoo/_pin

🌄 decenteralised pinterest in a tiddly wiki style
https://github.com/stagfoo/_pin

Last synced: about 8 hours ago
JSON representation

🌄 decenteralised pinterest in a tiddly wiki style

Awesome Lists containing this project

README

        

# 🌄 _pin
decenteralised mood board

# Why did you make this?
I use Pinterest for mood boards for my projects but:
- its central and controlled by pinterest
- Pinterest can remove my pins
- is not tightly connected to my code project
- no permissions control like git

Inspired by [TiddlyWiki](https://tiddlywiki.com/) a single file wiki system, I want a single file mood board system.

# How to I add/edit the board
currently you need to disable CORS locally, here are some easy extension
- [Chrome Addon](https://chrome.google.com/webstore/detail/easy-cors/gcdaaelgdlicnnichhholnoagafangej)
- [Firefox Addon](https://addons.mozilla.org/en-US/firefox/addon/cors-everywhere/)
- you can ALWAYS view the images even offline, its only ADDING images that requires a CORS disabled browser
- the whole image is stored in the html

# How do I use it?
- open the index.html in your browser
- copy a url of an image and paste it into the prompt
- save the html file with ctrl + s ~ (eg: board-cool-stuff.html)
- all the code to expand the board is stored in the html so open it again with a CORS disabled browser and continue editing.

# Can I update an old board to a new version?
- yes, kinda, by default the app part of the file is at the bottom of the html and you can swap it out for a new version.
- the ui is inside the `ui` div so you can swap that out too

```html

...

...


...app logic to replace

```

## Easy to download a pinterst board
- zoom out to 300% of the page (so all the images download)
- paste this code into console

```js
Array.from(document.querySelectorAll('[data-test-id="pinrep-image"] img')).map(i => i.src).join(',')
```

- add new image in _pin.html and paste the list

# Whats inside
- HTML - no framework
- JS - no framework
- CSS - no framework