Skip to content

IvoLimmen/mystart

Repository files navigation

MyStart

Why build something like this?

I don't know. I have a lot of bookmarks and there is no (proper) tooling for it. I use Google Bookmarks a lot but there is no nice add-on for both Chrome and Firefox. I use Firefox mostly as browser and I also use the bookmarks in the browser a lot. But then you suddenly think: I know I found something that I bookmarked. But where did I bookmark it in?

Features of MyStart

  • Quick search

    Searches in title, description, label and url.

  • Advanced search

    Specify a single label, part of description, part of title, part of url.

  • Bookmarklet

    I copied the one from Google that works with MyStart.

  • Statistics

    Added some statistics on source, visits and creation date. There is also a "Last visited" and "Last created" page.

  • Import

    MyStart can import from multiple sources.

  • Deduplication help

    When adding a new URL or editing an exiting one the page will show you a list of similar bookmarks that you can delete or edit.

  • User accounts

    Regular stuff: create account, change password, forgot password, set a nice picture.

Importing bookmarks

This application can import from the following sources:

Building

Do a checkout of this project. You need to following to build:

  • Minimal JDK 11 and up
  • Maven 3.* and up

Then execute the following command:

mvn clean install

Database

Create a new database (postgres) by executing:

createdb mystart    

(On start the application will create the tables)

Configuration

In the directory config there are two configuration files, one for the application and one for the logging. create copies of the files:

$ cp config/application-local.properties.example config/application-local.properties
$ cp config/logback-local.xml.example config/logback-local.xml

And customize accordingly. When you deploy it you should also have a production version.

Starting the application

For development tests

$ cd server
$ mvn exec:java

For release

  1. Go into the /opt directory.
  2. Extract the generated server-[VERSION].tar.gz. This will create a directory called mystart.
  3. Copy the mystart.service into /etc/systemd/system
  4. Reload the service deamon: systemctl daemon-reload
  5. Start the service: systemctl start mystart

Credits