Giter Club home page Giter Club logo

myuri's Introduction

Myuri

Myuri is a simple bookmark manager.

CI

It allows bookmarking websites using a convenient bookmarklet.

Version 0.5

Kick Start with Docker Compose

The most convenient way of starting the software is by using docker-compose

$ curl -OJ https://raw.githubusercontent.com/synthomat/myuri/main/docker-compose.yml
$ docker compose up -d

Then open browser at http://localhost:3000/

Roadmap

  • Auto generate cookie secret and store in database
  • Fetch site information in the background
  • Check link status regularly (e.g. for 404)

Installation

Prerequisites

  • JRE 8+
  • Clojure CLI and tools
  • PostgreSQL 8+
  • Docker and Docker-Compose if you wish to use that stack

Download from https://github.com/synthomat/myuri

Usage

$ clj -T:build uber

This will produce a self contained uberjar in the target/ directory.

Run that uberjar:

$ DATABASE_URL=jdbc:postgresql://localhost/myuri java -jar target/myuri-0.10.jar
Environment Default Example Explanation
DATABASE_URL jdbc:postgresql://localhost:5432/myuri jdbc:postgresql://localhost:5432/myuri Database connection string
COOKIE_SECRET JS9D2GG6ytgOLx06 PAWXt2maWB8bpBCR 16-bytes encryption key for the Cookie Session store. This is critical – please change the default!
PORT 3000 3000 Web App HTTP Port

Launch with Docker Compose

$ docker compose up -d  

Build Docker image

$ docker build -t myuri:0.10 .

Dev environment

Launch dev environment in the REPL

$ DATABASE_URL=jdbc:postgresql://localhost/myuri clj -A:dev

Then you can use these commands to launch, restart or stop the running application

user=> (go)     ; launches application
user=> (reset)  ; re-starts application
user=> (stop)   ; stops application

Running tests

$ clj -T:build test

License

Copyright © 2022–2024 Synthomat

Distributed under the ISC License

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.