Links related to tag ShaarPy

ShaarPy: Quelques mises à jour de ci de là

En reprenant la Shaarpy : Presentation, a été ajouté entre temps :

  • un moteur de recherche
  • l'import de markdown provenant de pelican, ainsi on peut se passer de l'un pour utiliser l'autre
  • docker
  • sitemap (pour faire coucou google si on a envie)

ça sera tout pour cette fois ;)

Enregistrer un tweet ou un toot dans ShaarPy

Twitter

  • select a tweet,
  • click on the 3 "..." on top right of the tweet to display a menu
  • select "integrate tweet"
  • this open a page
  • click on "copy code" button and paste the result in the Text part of the Shaarpy note

Mastodon

  • select a toot
  • click on the 3 "..." on top right of the toot to display a menu
  • select "integrate"
  • this open a popup
  • copy the code <iframe .... and paste the result in the Text part of the Shaarpy note
ShaarPy Project

ShaarPy

Share Your Thoughts, Links, Ideas, Notes

Description

This project is a clone of the great Shaarli made in PHP. This one is made in Python3.10 and Django 4.x

The features

Notes
  • Create notes in Markdown
  • Drop a URL and ShaarPy will grab the article page with image and video if the source website provides ones article with image
Tags
  • Manage tags
  • Tag Cloud

tag cloud

  • See the links of the day and navigate throw the calendar to go back to your old links

daily links

Tools
  • for each link added, a markdown file can be create in a folder that will be sync on your mobile with the help of "syncthing"
  • Import of Shaarli exported bookmark, or even FireFox bookmarks
  • you can export/import your data in json

export

python manage.py dumpdata --format json --indent 2 > fixtures/my_shaarpy_dump.json

import

python manage.py loaddata --format json  fixtures/my_shaarpy_dump.json

Installation

system requirements :

  • pandoc
apt install pandoc

creation of a python virtualenv

python3 -m venv shaarpy
cd shaarpy
source bin/activate

install the project

git clone https://git.afpy.org/foxmask/shaarpy
cd shaarpy
Settings

copy the sample config file

cp env.sample .env

and set the following values

# for meta
SHAARPY_NAME=ShaarPy FoxMaSk Links
SHAARPY_DESCRIPTION=Share thoughts, links ideas, notes
SHAARPY_AUTHOR=FoxMaSk
SHAARPY_ROBOT=index, follow
# for MD generation
SHAARPY_LOCALSTORAGE_MD=/home/foxmask/MesNotes/links
SHAARPY_STYLE=blue

SECRET=!DONTFORGETTOCHANGETHISVALUE!

DEBUG=True   # or False in prod
DB_ENGINE='django.db.backends.sqlite3'
DB_NAME='db.sqlite3'
DB_USER=''
DB_PASSWORD=''
DB_HOST=''
DB_PORT=''

TIME_ZONE='Europe/Paris'
LANGUAGE_CODE='en-en'
USE_I18N=True
USE_L10N=True
USE_TZ=True
Database

setup the database

cd shaarpy
python manage.py createsuperuser
python manage.py migrate
python manage.py loaddata --format json  fixtures/my_shaarpy_data.json
Running the Server

start the project

python manage.py runserver localhost:8001

then, access the project with your browser http://127.0.0.1:8001/