All Projects → girish946 → local-paste

girish946 / local-paste

Licence: GPL-3.0 license
Lightweight pastebin for home network which may or may not be connected to the internet.

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to local-paste

Dietpi
Lightweight justice for your single-board computer!
Stars: ✭ 2,871 (+11862.5%)
Mutual labels:  lightweight, raspberrypi
zEditor
a lightweight rich text editor | 一款超轻量级富文本编辑器 | 1行核心JS代码实现功能
Stars: ✭ 76 (+216.67%)
Mutual labels:  lightweight
challenges
A repository for challenges for various tech stacks.
Stars: ✭ 44 (+83.33%)
Mutual labels:  raspberrypi
wor-flasher
Legal utility that runs on RPiOS to flash another SD card with Windows 10/11
Stars: ✭ 451 (+1779.17%)
Mutual labels:  raspberrypi
Last-Launcher
Lightweight: Faster than light, Low on memory
Stars: ✭ 148 (+516.67%)
Mutual labels:  lightweight
typesafe-i18n
A fully type-safe and lightweight internationalization library for all your TypeScript and JavaScript projects.
Stars: ✭ 1,227 (+5012.5%)
Mutual labels:  lightweight
colr pickr
Colr Pickr, a vanilla JavaScript color picker component built with SVGs, with features like saving colors. Similar design to the chrome-dev-tools color picker.
Stars: ✭ 27 (+12.5%)
Mutual labels:  lightweight
Hexo-Theme-MengD
A simple, lightweight Hexo theme(支持:pjax、discuss、twikoo、waline、valine评论)
Stars: ✭ 69 (+187.5%)
Mutual labels:  lightweight
group-transformer
Official code for Group-Transformer (Scale down Transformer by Grouping Features for a Lightweight Character-level Language Model, COLING-2020).
Stars: ✭ 21 (-12.5%)
Mutual labels:  lightweight
pipxe
iPXE for the Raspberry Pi
Stars: ✭ 154 (+541.67%)
Mutual labels:  raspberrypi
koochak
A minimal & lightweight CSS framework
Stars: ✭ 15 (-37.5%)
Mutual labels:  lightweight
quicli
Create CLI's quickly without any external files!
Stars: ✭ 24 (+0%)
Mutual labels:  lightweight
build esp8266
Bash Script to Build MicroPython for ESP8266 on Raspberry Pi or Debian Linux
Stars: ✭ 13 (-45.83%)
Mutual labels:  raspberrypi
youtube-sr
Simple library for Node, Deno & Bun to make YouTube search easily
Stars: ✭ 68 (+183.33%)
Mutual labels:  lightweight
linto-client
LinTO client-server connectivity
Stars: ✭ 15 (-37.5%)
Mutual labels:  raspberrypi
tsdom
Fast, lightweight TypeScript DOM manipulation utility
Stars: ✭ 16 (-33.33%)
Mutual labels:  lightweight
ConfigAssets
Simple & Lightweight solution for managing configuration assets in Unity projects
Stars: ✭ 26 (+8.33%)
Mutual labels:  lightweight
pi roombot
ROS raspberry pi "roomba" like robot
Stars: ✭ 12 (-50%)
Mutual labels:  raspberrypi
teslausb
Steps and scripts for turning a Raspberry Pi into a useful USB drive for a Tesla
Stars: ✭ 1,426 (+5841.67%)
Mutual labels:  raspberrypi
DovakinMQ
MQTT broker for java based on Netty
Stars: ✭ 14 (-41.67%)
Mutual labels:  lightweight

LocalPaste

LocalPaste is a lightweight pastebin which can be hosted on a RaspberryPi.

Installation

$ git clone https://github.com/girish946/local-paste
$ cd local-paste
$ python3 -m venv env
$ source env/bin/activate
$ pip install -r requirements.txt

If you are using pipenv, the instructions are as follows.

$ git clone https://github.com/girish946/local-paste
$ cd local-paste
$ pipenv install
$ pipenv shell

Usage

$ python startLp.py --port 8000

Using gunicorn

$ gunicorn wsgi:app -b 0.0.0.0:8000 --workers=2

using Docker

You can build the docker image.

# build the image
$ sudo docker-compose -f docker-compose.yml build
# run the docker container
$ sudo docker-compose -f docker-compose.yml up

Or you can pull the docker image from docker hub using

$ docker pull girish946/local-paste

Settingup the tables and testing

For initial setup (ie. creating tables), once localpaste is running.

$ cd tests
$ python testLP.py

or go to http://0.0.0.0:8000/api/CreateDb from your browser.

Features

  • Create, Update, Search and Delete the pastes.
  • Syntax heighlighting while viewing a paste.
  • Copy the paste to clipboard from the gui.
  • REST API.
  • Can be hosted on a low power machine like (RaspberryPi/OrangePi).

TODO

Please take a look at Issues. For the TODO list.

Contributing.

Bugs and feature requests can be made via GitHub issues.

Pull requests are also welcome via git.

LocalPaste uses the Black python code formatter to keep coding style consistent; you may wish to have it installed to make pull requests easier.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].