Git Product home page Git Product logo

sessions's Introduction

Sessions

Safari extension to save your working sessions

Have you ever been working on a project, with dozens of tabs open, and wondered how to save that window? With Sessions you can easily save them, to re-open them whenever you'll want to!

Note

As for Sep. 2021 Apple has released a Safari update. One of the new features is basically what Sessions is doing. Developing and maintaing Sessions therefore doesn't make anymore sense to me. Sessions will still remain available and could get some sporadic updates. I now recommend using this repository for learning purposes.

Features

New in 1.6:

  • You can now reorder sessions by dragging them in the tabl
  • Settings are moved to the settings button
  • Auto-update: when opening a session in auto-update mode all changes are automatically saved
  • Search bar is now more powerful and scans urls and tabs' titles, too!

New in 1.5:

  • You can now replace a saved session with the current workspace
  • Option button is gone - right click on a session to display all the available options

New in 1.4:

  • You can now choose if you want to ignore or consider pinned tabs when saving your sessions
  • Context menu has a new look

New in 1.3:

  • Pinned tabs are now no longer part of sessions and will therefore be ignored when restoring a session

New in 1.2:

  • Save and open private sessions! 1
  • Open non-private sessions in private windows!

New in 1.1:

  • Export as json
  • Rename sessions
  • Search

1: Note that since there are no public APIs avaible to open a private window I used the stratagem of sending a keystroke event to safari. This means that the function could sometimes fail and restore the session in a different window from the one opened.

Installation

Download the latest release and copy the file Sessions.app into your Application's folder. Open it.

Welcome Window FOSSA Status

Safari will warn you that this extension can read sensible information from every website. That's because Sessions needs a high level read permission to get the URLs of the websites you have open. Sessions won't ever read any personal information.

As you enable the extension from the Safari's settings window you should see a new icon appear in the bar.

Actions

  • Click on the save button to store the current working session 2
  • Double click on a previously saved to re-open it
  • Click on the settings icon next to the name of the session to view some other actions:
    • Restore - Same as double-click action
    • Remove - Deletes the sessions (Caution! This action is irreversible!)
    • Rename - Same as one-click action. Lets you rename the session (the default name is the title of the first tab open when you clicked on save)
    • Export - Creates a .json file in the Downloads folder with every information Sessions has stored concerning about that session

2: Note that a session only includes the tabs of your current window. Other windows won't be included.

License

This project is licensed under the GPL-3.0 License - see the LICENSE.md file for details

FOSSA Status

sessions's People

Contributors

alexperathoner avatar dependabot[bot] avatar fossabot avatar nhat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

sessions's Issues

Search function

Another enhancement could be to search through all tab names, not only through sessions names

MacOS Sonoma support

Hi Alex & everyone,
I've just updated to Sonoma and I noticed that Sessions no longer works for some reason. Once I try to select any of the sessions I've created nothing happens.

Anyone else is experiencing the same issue?

Pinned tabs

Pinned tabs are now no longer part of sessions and will therefore be ignored when restoring a session,

pls add options, Pinned tabs part of sessions, now Pinned tabs, don't have sessions.

Two ideas: replacing sessions and auto-loading tab contents

Hi,

Just tried out your extension, and I like the simplicity.

What do you think of these ideas:

  1. A common workflow for me (and I imagine for others as well) would be to restore a session, change the state (close/open new tabs), and then replace the session so I can continue later. What do you think? Perhaps even an auto-save option for the session. Is this even possible/feasible, though?

  2. When I restore a session, the tabs that aren't currently focused have "Untitled" as the name. Is it possible to auto-load the content so that the title loads?

Restoration of Pinned Tabs

Hi there, great extension!
One minor annoyance though is that sessions are saving the pinned tabs as well, so when restoring them you end up with a window with |- pinned_tabs - restored_pinned_tabs - other_tabs -| which can be a little problematic if you got a fairly large amount of pinned tabs.

Merge Sessions

I got now like 4 sessions that are all really should be one.
It would be great to be able to merge those.

Issues with auto-saving

Hi,

I'm using the latest version, but find that when using the auto-save feature, new tabs are not saving.

The session has the green icon beside it, but no matter how long I wait, new tabs are not saved. Furthermore, even "replacing" the session doesn't save the new tabs, which is strange.

Any ideas?

Make icon grey like native icons

Thank you for an amazing extension! I was looking for something similar for way too long.
I would like to ask if possible to make the icon color grey to blend better to the standard apple icons.
Or at least add an option to choose the color for the icon.

I can contribute the necessary change for this, if you will guide me slightly.

Here the icon is blue:
Screen Shot 2021-02-27 at 5 39 20 PM

Session tab count and explore

Hi, great job with your extension!!
Can I suggest to add a tab count in the row of the saved session and the ability to browse into tabs without open them?
Thanks for your job

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.