Go to file
2024-05-30 20:41:05 +01:00
app Eager load tags for the bookmark 2024-05-30 20:40:10 +01:00
bootstrap Add laravel/telescope 2024-05-26 14:22:40 +01:00
config Add laravel/telescope 2024-05-26 14:22:40 +01:00
database Add Telescope tables 2024-05-30 20:41:05 +01:00
public Add laravel/telescope 2024-05-26 14:22:40 +01:00
resources Hide bookmark permalink if it's the active route 2024-05-29 23:11:35 +01:00
routes Add tag permalink page 2024-05-29 22:37:37 +01:00
storage Initial commit 2024-05-24 21:07:22 +01:00
tests Initial commit 2024-05-24 21:07:22 +01:00
.editorconfig Initial commit 2024-05-24 21:07:22 +01:00
.env.example Initial commit 2024-05-24 21:07:22 +01:00
.gitattributes Initial commit 2024-05-24 21:07:22 +01:00
.gitignore Initial commit 2024-05-24 21:07:22 +01:00
artisan Initial commit 2024-05-24 21:07:22 +01:00
composer.json Add laravel/telescope 2024-05-26 14:22:40 +01:00
composer.lock Add laravel/telescope 2024-05-26 14:22:40 +01:00
LICENSE Add AGPL 3.0 license 2024-05-25 15:10:18 +01:00
package-lock.json Add an app layout and some styles 2024-05-25 13:47:48 +01:00
package.json Add an app layout and some styles 2024-05-25 13:47:48 +01:00
phpunit.xml Initial commit 2024-05-24 21:07:22 +01:00
README.md Add todo "create new bookmark" 2024-05-30 20:24:50 +01:00
vite.config.js Add an app layout and some styles 2024-05-25 13:47:48 +01:00

url snail

A little project because I haven't made anything new in a while, I would like to learn Laravel, and maybe I don't need to use Pinboard.in any more.

Screenshot of the bookmark index in url snail

Ideas

  • Import from Pinboard.in JSON export
  • Bookmark permalink
  • Bookmark index
  • Bookmark pagination
  • Bookmark editing (title, description, url)
  • Bookmark tag editing
  • Create new bookmark
  • Tag cloud
  • Tag permalink
  • Multi-user support

Developing

Get the code:

git clone https://git.abackstrom.com/annika/urlsnail.git
cd urlsnail

Set up the Laravel .env file and SQLite database:

composer install
cp .env.example .env
php artisan key:generate
php artisan migrate           # database schema

Build the CSS with Vite:

npm install
npm run build       # `npm run dev` if you want css live reloading

Start the web server:

php artisan serve

If you need to process queued jobs (e.g. import bookmarks):

php artisan queue:work -v

Laravel Herd

If you have Laravel Herd installed, you can clone the repository to one of your Herd paths (e.g. ~/Herd) and view the site at http://urlsnail.test, no need to run php artisan serve.

License

This project is Copyright ©2024 Annika Backstrom.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.